A file system driver, encryption software and the stealth mode is probably using a simple keyboard driver (or if they were lazy possibly a registry hack to add the shortcut key). The lock file can be configured to not be seen as a file any longer so it doesn't count toward space in the folder.