Limited other

Keyboard lock

The navigator.keyboard.lock() API allows you to capture keys that are normally reserved by the operating system. It can be used to provide an immersive fullscreen experience such as games.

Baseline Status
Limited
Missing ≥1 target
First Core Launch
Chrome 68
2018-07-24
Core-3 Stability
Limbo (3,047d (8.3y))
Missing: firefox, safari
BCD Keys Mapped
4
Group: other

Browser Support Timeline

Chrome v68 (2018-07-24) Chrome Android v68 (2018-07-24) Edge v79 (2020-01-15)
Green dot marks the first browser release (2018-07-24); blue dots show subsequent browser launches (+540d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Chrome desktop 68 2018-07-24
Chrome Android mobile 68 2018-07-24
Edge desktop 79 2020-01-15

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
api.Keyboard DOM API 3,047d (8.3y) limbo
api.Keyboard.lock DOM API 3,047d (8.3y) limbo
api.Keyboard.unlock DOM API 3,047d (8.3y) limbo
api.Navigator.keyboard DOM API 3,047d (8.3y) limbo