Default Disable power menu in certain contexts

Hi, all. I have a problem and a question. The problem is, I'm a lazy bum. The question is, how do I disable the power menu while an alarm is going off on my phone so I have to do the wake-up challenges?