If you don't remember your Screen Time passcode, you can try 10 passcode attempts. After that 10 failed attempts, your device will be a lockout.