lock method

void lock()

lock this voyager instance

Implementation

void lock() {
  _locked = true;
}