Press and hold the Side button and either Volume button until the power-off slider appears
Drag the slider to the right
Wait for the iPhone to turn off
If the screen is frozen, quickly press and release Volume Up
Quickly press and release Volume Down
Press and hold the Side button until the Apple logo appears, then release
To force restart instead of turning off, use the same button sequence above
