Question: how to change forgotten restriction password on iphone?
Answer: If you can't remember a restrictions passcode that you set on a previous version of iOS or iPadOS, or you forgot your Screen Time passcode, you need to erase your device, then set it up as a new device to remove the passcode. Restoring your device from a backup won't remove your passcode.