lock method
Implementation
void lock({required String key}) {
if (key == null || key.length == 0) throw Exception(EXCEPTION__LOCK_KEY);
_lockKey = key;
}
void lock({required String key}) {
if (key == null || key.length == 0) throw Exception(EXCEPTION__LOCK_KEY);
_lockKey = key;
}