Disable reboot when holding down the power button for more than 10 seconds

I’d also like to see a better solution for this issue. Perhaps a slider on the power button so it could be made unpressable?