> For the complete documentation index, see [llms.txt](https://developer.magtek.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.magtek.com/hardware/card-readers/mms-dyna-devices/dynaflex-ii-ped/documentation/developers-manuals/dynaflex-ii-ped-programmers-manual/device-settings/device-lock-state.md).

# Device Lock State

## Table - Property 1.2.5.2.1.1 Device Lock State

<table data-header-hidden><thead><tr><th width="234.66668701171875" valign="top"></th><th></th></tr></thead><tbody><tr><td valign="top">Property Description</td><td></td></tr><tr><td valign="top">Property OID</td><td>1.2.5.2.1.1 / 0x010205020101</td></tr><tr><td valign="top">Name</td><td>Device Lock State</td></tr><tr><td valign="top">Description</td><td>This property can be used to get or set the device lock state. Getting this property does not require security, however setting it does. Setting it requires the use of Command 0xD112 - Set Property (Secured) which requires MagTek's involvement. To set the device lock state without involving MagTek use Command 0xEF04 – Load LTPK Protection Key. The value of the device lock state will revert to the value of Property 1.2.5.2.1.2 Device Lock State After Reset after a reset or a power cycle. See Device Lock Feature for more information.</td></tr><tr><td valign="top">Securing Key</td><td>See Command 0xD112 - Set Property (Secured).</td></tr><tr><td valign="top">Min. Len (b)</td><td>1</td></tr><tr><td valign="top">Max. Len (b)</td><td>1</td></tr><tr><td valign="top">Data Type</td><td>Binary</td></tr><tr><td valign="top">Valid Values</td><td>0x00 = Unlocked, 0x01 = Locked</td></tr><tr><td valign="top">Default</td><td>See Property 1.2.5.2.1.2 Device Lock State After Reset.</td></tr></tbody></table>

## Table - Get Request Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA00 8104 0155D101 840F D101 8501 01 8704 02050201 8902 C100</td></tr></tbody></table>

## Table - Get Response Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA00 81048255D101 820400000000 84820010 D101 850101 870402050201 8903 C101 00</td></tr></tbody></table>

## Table - Set Request Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">TBD</td></tr></tbody></table>

## Table - Set Response Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">TBD</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.magtek.com/hardware/card-readers/mms-dyna-devices/dynaflex-ii-ped/documentation/developers-manuals/dynaflex-ii-ped-programmers-manual/device-settings/device-lock-state.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
