Skip to content
Version: XState v5

Lock machines

You can lock a machine anytime to prevent accidental edits. Locked machines have a Locked status displayed in the editor’s top bar and in the project’s machine list in the left panel.

Hover over the Locked text to view who locked the machine and when.

Locking a machine prevents you, or anyone else on your team, from the following:

If somebody else is viewing or editing the machine when it is locked, their changes will not be saved, and they will be notified that the machine is now locked.

How to lock and unlock a machine

From the editor menu, go to Machine > Lock machine / Unlock machine.

From the machine’s Details panel, use the Lock machine / Unlock machine icon button.

If the machine is already locked, you can unlock it by clicking on the Locked button in the editor’s top bar and then confirming that you wish to unlock the machine.

Team roles and locking machines

All team members can view locked machines. Only team owners, Admins, and Editors can lock and unlock machines.

CapabilityOwnerAdminEditorViewer
View locked machine Yes Yes Yes Yes
Lock and unlock machine Yes Yes Yes🚫 No