I did a quick Google search and this is what I've come up with.
1
Click your Start Button, type regedit and hit Enter to open the Registry Editor.
Click View and make sure 'Address Bar' is turned on.
Paste this into the Address Bar at the top and hit Enter.
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
2
Right click the Windows Key (folder) and choose New - Key
Name the key Personalization
Click the new Personalization key
3
In the right hand pane, right click and choose New - DWORD 32bit
Name it NoLockScreen
Double click NoLockScreen and set its value to 1
4
Close the Registry Editor and Restart Windows for the change to take effect
That's It!