---
tag: m0510
title: Lock Machine
brief: Lock the machine if it has a passcode
author: shitcreek, thinkyhead

group: security
since: 2.0.6.1
requires: PASSWORD_FEATURE

codes: [ M510 ]
related: [ M511, M512 ]

notes:

example:
- pre: Lock the machine now
  code: M510

---

Lock the machine. When the machine is locked a passcode is required to unlock it. Use `M511 P` with your passcode to unlock the machine.
