lock method

dynamic lock()

Implementation

lock() {
  isLocked = true;
  domElement.requestPointerLock();
}