lock method

  1. @protected
void lock()

Implementation

@protected
void lock() {
  _locked[name] = true;
}