You could try a iphone 13 mini with screentime. Or just screentime on your ios device.
It should have an option to completely block access for the time and maybe nothing less than a horrible authorisation allows you to override that.
The feature, as-is - is not just useless; but borderline hilarious.