Returns the locking layer instance.
\Drupal\Core\Lock\LockBackendInterface
public static function lock() { return static::$container ->get('lock'); }