I use the minimalist phone launcher which has the option to set up blocking schedules for certain apps.
Between 7:00 a.m. and 7:00 p.m. I cannot use YouTube, Vivaldi, The real estate app, WhatsApp, etc.
If I want to unblock it I have to wait down a 3-minute timer to make sure that I really want to turn off the blocker