Is there a way to determine that the user is away from keyboard right now and computer is locked?
Search is Your friend:
http://social.technet.microsoft.com/Forums/en/winserverpowershell/thread/a6cfc1ba-c2f4-4a65-b3a3-7d44b8f5cae4
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?