Press and hold the Side button and either Volume button until the power off slider appears
Drag the power off slider to turn off the iPhone
If the iPhone doesn’t respond, press and release Volume Up, then press and release Volume Down, then press and hold the Side button until the screen goes off
On iPhone models with a Home button: press and hold the Top (or Side) button until the power off slider appears, then drag the slider
