Steps and pictures shown for the iPhone 17. “Screen frozen or won't respond” has 4 steps and takes about 1 minutes.

Press and release volume up
Quick press, then let go.

Press and release volume down
Quick press, then let go. Do steps 1 and 2 within a second of each other.

Press and hold the side button
Keep holding, even when the screen goes black. It takes about 10 seconds.

Let go when the logo appears
Release the button when the Apple logo shows. Nothing has been deleted.
Steps and pictures shown for the Galaxy S26 Ultra. “Screen frozen or not responding” has 4 steps and takes about 2 minutes.

Charge it for a few minutes first
If the battery could be empty, plug the phone in and wait about 15 minutes. A force restart needs some charge.

Hold Side and Volume down
Press and hold the Side button and Volume down together, for more than 7 seconds. Keep holding even if the power menu appears.

Let go when it restarts
The screen goes black and then the phone starts up again. Let go of both buttons at that point. Unlock with your PIN, pattern or password: the fingerprint works again after that.

Freezes again and again?
Make sure the software is up to date, and remove any app you installed just before the trouble started. If it still happens, contact the phone maker's support or a repairer.
Steps and pictures shown for the Google Pixel 9. “Screen frozen or won't respond” has 3 steps and takes about 2 minutes.

Hold the power button
Press and hold the power button for up to a minute. Let go when the “G” logo appears.

Let it start up
It may take a minute. Your photos and messages are safe: this doesn't erase anything.

Still nothing?
Charge it for 30 minutes and try again. A completely flat battery can look like a frozen phone.