How can i set pass code for iphone 7 plus?

How can i set pass code for iphone 7 plus? - 1

Check the security settings of course.

Start by opening the Settings app, tap General, then tap the Passcode Lock button.
Set a Passcode. A numbered keyboard will slide up the screen.
Locked. Your iPhone now has a Passcode enabled.
Passcode timer. Tap the Require Passcode button to set a timer for the lock.
Complex Passcodes.
Erase Data.