Is here any command or script for finding out, if the workstation is currently locked or unlocked?