The automation for Do Not Disturb only operates when your phone's screen is locked, so keep that in mind. It truly hinges on your settings, though. You might have selected some interruptions that let people call you in an emergency. Additionally, it would be best if you altered your Android device's lock screen.