Sign in to your All 4 account
Go to "Settings" and click on "Parental Controls"
Create a PIN
Pick content restrictions according to age ratings