Apple Guided Access allows you to prevent your children from accessing areas of your iPhone or iPad you want to keep them from. This not only protects your children, but it also keeps your data safe from your kids.
To activate Guided Access, open Settings > Accessibility > Guided Access and then toggle it on. There are plenty of options to customize access levels, including passwords, voice recognition and time restrictions, to name just a few.