If you're in a state where you don't want to be disturbed by your phone (such as in a meeting or falling asleep), you can turn on Do Not Disturb mode. In this mode, incoming calls, reminders and notifications received by the phone are automatically silenced.
Turn on Do Not Disturb mode
Setting path: Settings > Sound & Vibration > Do Not Disturb
In this mode, all incoming calls, reminders, and notifications received by the phone will be automatically muted, except for disturbing content, alarms, countdowns, etc. A moon icon will appear in the upper right corner of the status bar.
Schedule
You can set a schedule for Do Not Disturb to activate at a specific time.
Setting path: Settings > Sound & Vibration > Do Not Disturb>Schedules > Click on the top right corner+> Add schedule name and set time
Exceptions
According to your needs, you can choose the Allowed notifications, Allowed messages from and Allowed calls from
To avoid missing important calls, you can choose to turn on Ring for repeated calls (A second call from the same number within 3 mins will not be silenced)
To stay focused, you can also turn on Silence media when Do Not Disturb is on