To power off your iPhone,
press and hold the button on the right side of the phone for 3 seconds, then move the slider on the screen to the right.
press and hold the buttons on the left side of the phone for 3 seconds, then move the slider on the screen to the right.