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.
You can reset an iPhone, even without the password, by putting it into "recovery mode" or erasing it via iCloud's Find My ...