This app allows you to disable your Swipe or Pattern screen lock for a certain time. Useful if you don't want to bother with locking and unlocking your phone all the time.
This app will not work with PIN and Password screen locks for security reasons. On android Android 6 Marshmallow Pattern lock will not work either. That is a "security feature" in Marshmallow, nothing I can do.
XDA forum thread: http://forum.xda-developers.com/android/apps-games/app-screen-lock-disable-timer-t3126463/post61143912#post61143912
Source code: https://github.com/rickythefox/LockScreenDisableTimer