Just the focus mode on in settings and set screen time for not open the apps or you can set time for stop screen time in apps.
Just the focus mode on in settings and set screen time for not open the apps or you can set time for stop screen time in apps.