This feature is usually enabled beforehand but can be activated via iTunes or iCloud if disabled. For iPhone 7 and 7 Plus Press and hold the Side Button (or Top button) and the Volume Down button simultaneously.
iPhone Hard Reset Black Screen Method: Force Restart Steps
Knowing this prevents frantic button mashing and allows you to follow the correct procedure calmly. Sometimes, the phone is actually on and processing your inputs, but the display is simply not rendering anything.
Once you access the virtual menu, you can initiate a standard software shutdown without risking further hardware damage from aggressive button presses. Preventing Future Screen Failures.
iPhone Hard Reset Black Screen Method
Plug the phone into a charger for at least 30 minutes before trying the force restart sequence again. Keep holding both buttons until the Apple logo appears.
More About How to turn off iphone when screen doesn't work
Looking at How to turn off iphone when screen doesn't work from another angle can help expand the discussion and give readers a second clear paragraph under the same section.
More perspective on How to turn off iphone when screen doesn't work can make the topic easier to follow by connecting earlier points with a few simple takeaways.