I don’t know what exactly happened, but i got this notification when i was downloading an app to look at my security cameras. It says something about allowing or disallowing critical alerts and then allow or don’t allow. I can’t shut off or open my phone.
So your phone is completely frozen? You could try forcing a restart.
Android:
IOS: