Here is a very simple one line BCX program that you may find useful. I am sure the "old timers" are probably aware of it but maybe some of the newer BCX users are not . It is actually a single line of C code (courtesy of Microsoft) inserted into a BCX program using the in-line C code operator , "!". When activated, it immediately locks the current user workstation activity on a Windows PC system until the computer's Windows system access password is entered.
!LockWorkStation();