Thank you for using Apple Support Communities. It's my understanding that you've forgotten your restrictions passcode. To remove a restrictions passcode you will need to erase your iPhone and set it up as new. Restoring from a backup won't remove the passcode. Use the steps in the link below:
This thread has been closed by the system or the community team.
You may vote for any posts you find helpful, or search the Community for additional answers.
i would like to reset my ristriction passcode
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.