My suggestion is to emulate the VB/C version: set the screensaver flags to ON, so that the computer thinks the screensaver is on when it actually isn't, hence locking CTL+ALT+DEL, ALT+TAB and WIN(or ALT+ESC)