Auto Lock (CSDEVCTRL) is another auto locking program which utilizes the Windows Locking for partial locking (phone related keys are active) or complete locking (no keys are active).

Changes:

29/11 – v.6.5 – Added power off after disconnect, support for 6.5 win (beta)

http://forum.xda-developers.com/showthread.php?t=386451