We can specify whether incoming calls should be allowed or transferred on the Huawei smartphone despite the Do Not Disturb mode being enabled, for which we can select the following options:

Note: If we have enabled a restriction, we can specify whether to allow repeated calls.

Android 10 | EMUI 10.0
Allow calls -  Open the  Settings
Allow calls -  Tap on  Sounds & vibration
Allow calls -  Tap on  Do Not Disturb
Allow calls -  Tap on  Calls
Allow calls -  Choose  Everyone ,  Contacts only ,  Favourites only  or  No one
  1. Open the Settings
  2. Tap on Sounds & vibration
  3. Tap on Do Not Disturb
  4. Tap on Calls
  5. Choose Everyone, Contacts only, Favourites only or No one

Huawei Instructions