iPhone Backup Extractor is capable of automatically recovering a forgotten Screen Time passcode.
Install iPhone Backup Extractor, and then choose
Recover Screen Time / restrictions passcode from the
Utilities menu. You'll be guided through the next steps. You'll need an encrypted iTunes backup for this.
If you need help recovering other Screen Time data, please contact us directly.