The lock/unlock screen based on WiFi connectivity is very handy but I am now using Power Toggles which gives me a one click disable/enable lock screen on a notification bar. It will do till Tasker is sorted. So far its been nearly a week since I've had the frozen black screen.