Future<void> lock([Iterable<String>? keyCodes = const []]) => js_util.promiseToFuture(js_util.callMethod(this, 'lock', [keyCodes]));