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

group: security
since: 2.0.6.1
requires: PASSWORD_FEATURE

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

parameters:

- tag: P
  optional: false
  description: The passcode to try.
  values:
  - tag: passcode
    type: int

example:
- pre: Unlock a machine with passcode '12345'
  code: M511 P12345

---

Check the given passcode and unlock the machine if it is correct. Otherwise, delay for a period of time before allowing another attempt.
