Issue #3441549 by alexpott: Race condition in \Drupal\content_lock\ContentLock\ContentLock::locking() as we fetch the lock (select) and then separately create the lock (merge)