code: public void lock(final DeviceProxy deviceProxy, final int validity) throws DevFailed {
  	    DevLockManager.getInstance().lock(deviceProxy, validity);
      }
docs: ==========================================================================