There are several options you could consider for fixing your iPhone buttons manually
Make sure your power button is not stuck.
Try rebooting your phone to see if it is not a malfunctioning glitch
Connect to a USB or charger to wake your phone so that you can go for visual power options.
Visit the repair center if mentioned manual repair does not work.