I had the same thing happen once and the following fixed it:
Press and release the volume up
Press and release the volume down
Hope the power button until the Apple logo appears
In case that doesn’t work, here’s the article I got it from that has some additional things to try.
I still miss early Windows Phone. Looking at what Windows desktop has evolved into though, I’m not sure what kind of monster Windows Phone might have turned into if it were still around.