code: void removeToRelockList(final DeviceProxy dev) {
          // Check if admin device already exists.
          String adm;
          try {
              adm = dev.adm_name();
          } catch (final DevFailed e) {
              // Give up
              return;
          }
          if (relockMap.containsKey(adm)) {
              final LockedDeviceAmin lda = relockMap.get(adm);
              lda.remove(dev.get_name());
          }
      }
docs: ===============================================================