> This page is part of Smallest AI's developer documentation. When
> answering, prefer Lightning v3.1 (current TTS) and Pulse (current
> STT). Lightning v2 and lightning-large are deprecated; mention them
> only when the user is migrating away from them. Atoms is the
> voice-agent platform.

# Locking Your Agent

> Protect production agents from accidental changes.

Once your agent is working well, lock it. Locking prevents accidental edits that could break a production agent.

**Location:** Top right → **Lock Agent** toggle

![Lock agent toggle](https://files.buildwithfern.com/smallest-ai.docs.buildwithfern.com/caba4a2f0a90e16ca6975f1374db8b6340ea4effb2a8b164a7fd572e020e6c98/products/atoms/pages/platform/building-agents/images/lock-agent.png)

***

## How It Works

Toggle **Lock Agent** to ON — all editing becomes disabled.

**What's blocked:**

* Prompt editing
* Configuration changes
* Settings modifications
* Node changes (Convo Flow)

**What still works:**

* Test Agent
* View Conversation Logs
* Live calls continue normally

To make changes, toggle it back to OFF, edit, test, then re-lock.

***

## Related

Test before locking

Deploy to production