Troubleshooting
Reset a Forgotten Screen Time Passcode on iPad
If you can unlock the iPad but do not remember the separate Screen Time passcode, reset it in Settings with the Apple Account credentials associated with Screen Time passcode recovery. This normally preserves your apps, photos, files, and other data. The process differs when the iPad belongs to a child