code: LockerInfo getLockerInfo(final DeviceProxy deviceProxy) throws DevFailed {
          deviceProxy.import_admin_device("getLockerInfo");
          final DeviceData argin = new DeviceData();
          argin.insert(deviceProxy.get_name());
          final DeviceData argout = deviceProxy.getAdm_dev().command_inout("DevLockStatus", argin);
          return new LockerInfo(argout.extractLongStringArray());
      }
docs: ==========================================================================