---
title: "Lock Node"
description: "Lock a node with configurable repository, branch, and node ID settings for user control. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/engine/behaviors/actions/lock-node"
---

# Lock Node

ID: `lockNode`

Locks a node as the current user.

### Configuration

| Property | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| repositoryId | text | true |  | The ID of the repository of the node. |
| branchId | text | true |  | The ID of the branch of the node. |
| nodeId | text | true |  | The ID of the node. |

## See Also

- The [Lock Node](/documentation/gitana/4.0/engine/workflow/workflow-handlers/lock-node.md) workflow handler
