This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
var lockManager = Navigator.locks
|Web Locks API
The definition of 'locks' in that specification.
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.