Microsoft® Windows® and Microsoft® Windows NT® provide functions and messages that allow applications to log off the current user, shut down the system, or lock the workstation.