If it's not still under warranty, try turning on assistive touch- If you don't where to find it, go to Settings > General > Accessibility > AssistiveTouch.
This way you have a virtual home button on your screen and can turn the power off from there.
Hope this helped!