It does not erase any of your data like photos or apps. It only forces the iPhone to restart when the device stops working entirely.
The method to do this is:
Do not let go if the device shows 'Slide to power off' screen.
Keep holding the button for around 10-20 seconds until the Apple logo appears.
Once you see the Apple logo, release the side button to allow the device to reboot.
If it doesn't work, it might be an indication that there is a more serious issue with the device and we encourage you to bring it to our store in Tollcross at 14 Home Street, Edinburgh.
You can also call us on 01312211117.

Drop in to see us for device repairs or general advice seven days a week at 14 Home Street, Edinburgh EH3 9LY or give us a call on 0131 221 1117
We’re always here to help. Hex repair specialists are high-performing and trusted experts in the field of iPhone and other technology repairs. We only use genuine or highest quality replacement parts and always do everything that we possibly can to repair and restore your device, something many other repair centres can’t do or just prefer to sell you a new device.
Dex