code: @Command(name = "DevLockStatus", inTypeDesc = DEVICE_NAME, outTypeDesc = "Device locking status")
      public DevVarLongStringArray devLockStatus(final String deviceName) throws DevFailed {
          DevVarLongStringArray result = null;
          int nbClasses = 0;
          final String fullDeviceName = TangoUtil.getfullNameForDevice(deviceName);
          for (final DeviceClassBuilder deviceClass : classList) {
              if (deviceClass.containsDevice(fullDeviceName)) {
                  result = deviceClass.getDeviceImpl(fullDeviceName).getLockStatus();
                  logger.debug("DevLockStatus {} {}", Arrays.toString(result.lvalue), Arrays.toString(result.svalue));
                  xlogger.exit();
                  break;
              }
              nbClasses++;
          }
          if (nbClasses == classList.size()) {
              throw DevFailedUtils.newDevFailed(ExceptionMessages.DEVICE_NOT_FOUND, deviceName + DOES_NOT_EXISTS);
          }
          return result;
      }
docs: Command DevLockStatus
  
  @param deviceName device name
  @return lock status
  @throws DevFailed