LockWorkStation function user32

int LockWorkStation()

Locks the workstation's display. Locking a workstation protects it from unauthorized use.

BOOL LockWorkStation();

Implementation

int LockWorkStation() => _LockWorkStation();