setLocked method

void setLocked(
  1. bool lock
)

Implementation

void setLocked(bool lock) {
  locked = lock;
}