Setting up lock-screen security- 1- Go to the Settings menu on device. 2- Scroll down until you find Security or Security and Screen Lock and select it.
3- Under the Screen Security section, select the Screen Lock option.
4- From here, select which lock type you want to use, whether it's Pattern, PIN, or Password. For more info-