VBS script to check if workstation is locked

Well, here it is: