Read more on MDN
let query: WebAPI.WebLocksAPI.lockManager => Promise.t< WebAPI.WebLocksAPI.lockManagerSnapshot,>
let request: ( WebAPI.WebLocksAPI.lockManager, ~name: string, ~callback: WebAPI.WebLocksAPI.lockGrantedCallback,) => Promise.t<JSON.t>
let request2: ( WebAPI.WebLocksAPI.lockManager, ~name: string, ~options: WebAPI.WebLocksAPI.lockOptions, ~callback: WebAPI.WebLocksAPI.lockGrantedCallback,) => Promise.t<JSON.t>