You can set restrictions for some apps and for purchased content. For example, parents can restrict explicit music from being seen on playlists, or prevent the installation of apps.
Turn on restrictions: Go to Settings > General > Restrictions, then tap Enable Restrictions. You’ll be asked to define a restrictions passcode that’s necessary in order to change the settings you make. This is distinct from the passcode for unlocking iPhone.
Important: If you forget your restrictions passcode, you must restore the iPhone software.