# Locking

## What is locking?

Locking a stake account sets a time-based lockup. While locked, the account cannot be withdrawn, deactivated, or split. The stake remains active and continues earning rewards, but you cannot access the SOL until the lockup expires.

## Setting a lockup

1. Expand a stake account card and select the lock action
2. Choose a lockup date and time
3. Approve the transaction

The lockup is enforced on-chain. The Stake Manager displays a lock icon on locked accounts and shows the unlock date.

## Locked account restrictions

While a stake account is locked:

* **Cannot withdraw**: The SOL stays in the account until the lockup expires
* **Cannot deactivate**: You cannot begin the unstaking process
* **Cannot split**: The account cannot be divided
* **Can still merge**: Two locked accounts with identical lockup settings and the same validator can be merged
* **Batch actions skip locked accounts**: Batch withdraw and batch deactivate automatically exclude locked accounts

## After the lockup expires

Once the lockup time passes, the account behaves like any other stake account. You can deactivate, withdraw, split, or send it normally. The lock icon will no longer appear.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lantern.one/stake-manager/locking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
