public void waitForLock(String lockId) {
        if (properties.isWorkflowExecutionLockEnabled()) {
            lock.acquireLock(lockId);
            LOGGER.debug(
                    "Thread {} acquired lock to lockId {}.",
                    Thread.currentThread().getId(),
                    lockId);
        }
    }
Blocks until it gets the lock for workflowId

@param lockId
core/src/main/java/com/netflix/conductor/service/ExecutionLockService.java