Is there a special combination for phones with glued-in battery? Recently I had an issue with some older Samsung smartphone, where the touchscreen refused to drag lines across the lock pattern. I spent solid 20 minutes trying to unlock it, then thought for another 20 minutes how to reboot it - no hole, power button does nothing, battery at 100% so discharging it would take a day of continuously turning on the screen (or maybe suck the power via USB load).
By accident, I've discovered that yanking out the SIM card shows up the notification that can be used to reboot the phone without unlocking. After reboot, everything worked fine again.
On most Android phones for the past ~10 years, just holding the power button down for like 10 or maybe 30 seconds does a hardware reboot. I know this because it happens in my pocket all the freaking time and I hate it.