---
title: "free lock · RUAL Documentation"
description: "RUAL locking block."
canonical: https://docs.rual.nl/block-types/locking/function_claim_unlock
language: en
---

# free lock

This block is part of the [`locking`](https://docs.rual.nl/block-types/locking) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

- flow `flow`

- key required `value`

- flow `flow`

| `clear lock` |
| --- |

A typical wiring for [free lock](https://docs.rual.nl/block-types/locking/function_claim_unlock): [concatenate values](https://docs.rual.nl/block-types/value/value_concatenate) feeds the `key` pin; [create document](https://docs.rual.nl/block-types/storage/function_create_document_from_mutations) feeds the `flow` pin; the `flow` out pin feeds [branch](https://docs.rual.nl/block-types/flow/branch).

![Studio canvas example for the free lock block: typical wiring for free lock.](https://docs.rual.nl/canvas-examples/function_claim_unlock.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [concatenate values](https://docs.rual.nl/block-types/value/value_concatenate): feeds into this block.

- [return](https://docs.rual.nl/block-types/function%20execution/function_return): wired in both directions with this block. Returns the added custom pins as data-pins on the function execute.

- [branch](https://docs.rual.nl/block-types/flow/branch): this block feeds into it.

- [create document](https://docs.rual.nl/block-types/storage/function_create_document_from_mutations): feeds into this block. Creates a document in the given storage.

- [update document](https://docs.rual.nl/block-types/storage/function_update_document_mutations): feeds into this block. Update document in the given storage and creates a revision for it.

- [funnel](https://docs.rual.nl/block-types/funnels/funnel): feeds into this block.

### Used in these guides

These documentation pages use or explain this block:

- [Block Execution](https://docs.rual.nl/blueprints/block-execution)

- [Locking and Concurrency](https://docs.rual.nl/blueprints/locking)

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
