To protect your privacy, you can set a passcode for your iPhone. When you set this code, you are prompted to enter it after you swipe the “slide to unlock” bar on the lock screen, which appears whenever you wake or turn on the phone. If you are unable to enter the correct passcode, especially if someone enters the wrong passcode too many times, you may need to restore the iPhone. Writer Bio
