LockWorkStation()
locks a workstation's display. The display can then only be opened again by entering a user's password. Thus, a locked display protects the system from unauthorized use. windows+L
rundll32.exe user32.dll,LockWorkStation
LockWorkStation
is defined in WinUser.h
: #if(_WIN32_WINNT >= 0x0500) WINUSERAPI BOOL WINAPI LockWorkStation( VOID); #endif /* _WIN32_WINNT >= 0x0500 */