go to settings, click on general, scroll down to the bottom until you see "transfer or reset iPhone" click on erase all content and settings, click on the continue button. enter the code to unlock your phone then you will come across a place where you can infinitely guess the screen time code. it will take awhile but its worth it, I recommend starting at 0000, 0001, etc since ou will eventually come across the screen time code