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:

30/10 – v4.04 – Fixes, REMEMBER TO change CustRegKeyActiveCalls to be
HLMSystemStatePhoneActive Call Count

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