Enter the Settings application on your device.
Next, select Security option from the drop-down menu.
Also, you need to choose Scree lock here and then click on NONE to disable it.
After that, the device will ask you to enter the pattern that you set before.