lock method

void lock()

Implementation

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