Skip to content

Windows Event ID 4800: The workstation was locked

Written when a workstation (screen) is locked. It is a supporting event for understanding a user’s presence and the session usage window.

Overview

The subcategory is Audit Other Logon/Logoff Events. It is generated when a user locks the screen (Win+L, lock on inactivity, and so on). Paired with unlock 4801, it tracks the present/away flow.

How it is triggered

  • A manual lock (Win+L), or an automatic lock by screen saver or inactivity timeout.

Security review points

  • Lock/unlock patterns help establish the hours when an account is actually used by a person. If there is activity (logons or access) under that account during a time it should be locked, it gives cause to suspect use via another path.
  • Its standalone security priority is low, but it can reinforce the timeline of an interactive session.

Notes for log review

  • It occurs in large volume daily. Rather than reading it alone, use it to build a presence timeline together with unlock 4801, logon 4624, and logoff.
  • Know the normal usage patterns per machine and per account.

MITRE ATT&CK mapping

No technique maps directly. As a presence timeline, it helps spot activity under the same account while the user was away (possible T1078 Valid Accounts).

Mapping as of ATT&CK v19.2. To search by technique, see the ATT&CK reverse lookup.

Detection rules

SigmaHQ has 1 public detection rule that uses this event ID as a condition.

RuleTypeSeverity
Locked WorkstationSigmaInformational

Rules are collected from SigmaHQ r2026-07-01 and from Azure-Sentinel as of 2026-10-09, limited to those whose conditions include this event ID. Sentinel rules are limited to those that query the SecurityEvent or WindowsEvent table. “Threat-specific” rules target a particular threat group or malware, and “needs setup” rules require values for your environment. Severity is the value each rule’s author assigned.

Key fields

FieldMeaning
Target Account\Account NameThe account that locked the screen
Session IDThe target session

References