Are you running winvnc as application or service ?
OS server ?
There is a big difference in method, winvnc as application started without runas admin actual can't block the keyboard ( permission denied).
In that case we try to capture via the vnchook.dll the keypresses before the reach the desktop, but some special keys can not be blocked.
Lock indicate the status of the mouse/keyboard.