The documentation you are viewing is for Dapr v1.18 which is an older version of Dapr. For up-to-date documentation, see the latest version.

Distributed Lock

With the Dapr Distributed Lock package, you can create and remove locks on resources to manage exclusivity across your distributed applications. The DaprDistributedLockClient provides a dedicated client for interacting with Dapr’s distributed lock API, supporting lock acquisition with automatic release on disposal, configurable timeouts, and cancellation.

Core concepts

Next steps