---
id: "keyboard-lock"
kind: "web-feature"
canonical: "https://timetostable.com/feature/keyboard-lock"
baseline: "limited"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Keyboard lock (`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.

- **Group**: other
- **Baseline**: Limited Availability
- **Specification**: https://wicg.github.io/keyboard-lock/
- **Constituent BCD keys**: 4

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 68 | 2018-07-24 |
| Chrome Android | 68 | 2018-07-24 |
| Edge | 79 | 2020-01-15 |

