Limit app time with Screen Time
By using screen time, you can restrict how much time you use on certain apps. Make someone else set up the password to enforce the restrictions.
- Go to Settings > Screen time
- App Limits and «Add limit»
- Get someone else to set your password