if the "Do not disturb" mode is activated on the Samsung device, exceptions such as alarms (alarm clock) and media are already allowed by default. calls, messages (SMS), reminders and other options are blocked for the time being. in the settings of the "Do not disturb" mode, the mentioned exceptions can be added. for calls and messages, there is also the possibility to allow the exception only for (preferred) contacts.

The following exceptions may be established:

Android 10 (One UI 2.0)
Step 1:  Open the  Settings
Step 2:  Tap on  Notifications
Step 3:  Tap on  Do not disturb
Step 4:  Tap on  Allow exceptions
Step 5:  Enable or disable desired  Exception
  1. Open the Settings
  2. Tap on Notifications
  3. Tap on Do not disturb
  4. Tap on Allow exceptions
  5. Enable or disable desired Exception

Samsung Instructions