This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The locks read-only property of the Navigator interface returns a LockManager object which provides methods for requesting a new Lock object and querying for an existing Lock object.


var lockManager = Navigator.locks


A LockManager object.


Specification Status Comment
Web Locks API
The definition of 'locks' in that specification.
Draft Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support69 ? ? ?56 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support6969 ? ?56 ? ?

Document Tags and Contributors

Contributors to this page: jpmedley
Last updated by: jpmedley,