lockIfSecured method

void lockIfSecured()

Implementation

void lockIfSecured() {
  if (value.secured) lock();
}