One of new features of iOS 11 is that you can power down your iPhone without the power button.
This new ability can also be helpful for people who make use of accessibility features, like those who may have difficulty squeezing buttons.
- Navigate to Settings
- Swipe down to and tap Shut Down
- Swipe the power off slider from left to right