You may have two good options for this, depending on your phone model and software version:
Focus mod was made available generally in Android 13 and can be set on a schedule by going to Settings > Digital Wellbeing & parental controls > Focus mode. While focus mode is on, notifications will be held from the apps you select ("distracting" apps), and you won't see them until Focus Mode is paused or disabled.
- Holds notifications for you on a set schedule
- Will allow you to "take a break" at any time to see pending notifications (at noon)
- Can't break up the schedule without using the "take a break" feature
- This mode also disables these apps, attempting to keep you from using them at all, in addition to holding their notifications
Do Not Disturb can be accessed through Settings > Sound & vibration > Do Not Disturb and allows you to set Schedules. You can set two schedules (beginning of the day until noon, 12:15 pm to 4 pm) during which notifications will be hidden until Do Not Disturb is turned off.
- You can set the exact schedule you're looking for
- You can still choose what alerts your phone (apps, calls, alarms, etc.)
- The intention of Do Not Disturb is to block most or all communication from your phone, so you'll want to be careful about the settings, including who can call, what apps can interrupt, and how to handle alarms, media sounds, etc.
- Using these settings for this purpose will change the way Do Not Disturb acts all the time. For instance, if you use this to allow calls through but block app notifications, the same settings will apply when you use Do Not Disturb in a movie theater, and a call may come through.