As you can see, if you open security you can see screen lock under device security, with a settings icon to the right of it.
If you push screen lock, you are asked to enter the lock pattern, then you can choose whether you want a pattern, pin or swipe lock function.
If you press the settings...