@Override
  public void unlock() {
    boolean status = leaseBlobManager.releaseLease(leaseId.get());
    if (status) {
      LOG.info("Unlocked successfully.");
      hasLock.getAndSet(false);
      leaseId.getAndSet(null);
    } else {
      LOG.info("Unable to unlock.");
    }
  }
Unlocks, by releasing the lease on the blob.
samza-azure/src/main/java/org/apache/samza/coordinator/AzureLock.java