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

since: 2.0.6.1
requires: PASSWORD_FEATURE
group: security

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

notes:
  - Requires `PASSWORD_FEATURE`.

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.option.
