lock method

void lock()

Implementation

void lock() {
  handle = true;
}