Question: what to do when a iphone x freezes?
Answer: Press and release the Volume Up button.
Press and release the Volume Down button.
Press and hold the Side button. Continue to hold this button down until the Apple logo appears on screen.