We can set whether incoming calls from our Xiaomi smartphone are allowed while the No Disturb mode is active, and we can choose from the following options

Android 10 (MIUI 12.0)
Step 1:  Open the  Settings
Step 2:  Tap on  Sound & vibration
Step 3:  Tap on  Silent/DND
Step 4:  Tap on  Allow incoming calls
Step 5:  Choose  From anyone ,  From contacts only ,  From starred contacts only  or  None
  1. Open the Settings
  2. Tap on Sound & vibration
  3. Tap on Silent/DND
  4. Tap on Allow incoming calls
  5. Choose From anyone, From contacts only, From starred contacts only or None