To reset or change your iPad's passcode, you can use the "Passcode" menu in your Settings app, or reset the entire device.
Losing access to your iPhone’s Screen Time passcode can be a significant inconvenience, especially when it limits your ability to manage app usage, content restrictions, or device settings.
To change your restrictions passcode on an iPhone, you'll need to go into your Settings. Where you go from there depends on ...