Press and hold the side button and either volume button until the power off slider appears
Drag the power off slider to the right
Wait for the iPhone to turn off
If the screen is frozen, press and release volume up, press and release volume down, then press and hold the side button until the Apple logo appears and the device restarts
