# RFID Set Tag Lock State

Locks or unlocks a memory bank on a Tag

Action available for the following operating systems:

![](https://3821468174-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTlA1suFa5N48x_83N%2F-MNOpLbccICBMi9MPXpB%2F-MNOpQuqJu2vUVfUohgv%2FAndroid2.PNG?alt=media\&token=062b7437-0855-40aa-9c76-4ae834f5e35d)

### Parameters

*General*

* **Memory Bank** *\<numeric>*
  * -2 - Access Passw&#x20;
  * -1 - Kill Passw&#x20;
  * 0 - reserved&#x20;
  * 1 - EPC&#x20;
  * 2 - TID&#x20;
  * 3 - User<br>
* **Access Password** *\<string> - The current access password for the Tag.*<br>
* **Lock State***\<numeric>*
  * 0 - Don't Change&#x20;
  * 1 - Open&#x20;
  * 2 - Secured<br>
* &#x20;**Lock Type***\<numeric>*
  * 0 - Don't Change&#x20;
  * 1 - Open&#x20;
  * 2 - Permanent<br>
* **User Parameters** *\<string>*

&#x20;   **Targets**

* **Tag ID** *\<variable or control>*
* **Target RSSI** *\<variable or control>*
* **Target Scaled RSSI** *\<variable or control>*
* **Items Frequency** *\<variable or control*>
* **Target Antenna ID** *\<variable or control>*
* **Target Value** *\<variable or control>*
* **Target User Data**  *\<variable or control>*

&#x20;*Filter*

* &#x20;**Apply Filter** *\<string>*
  * 1 - Yes&#x20;
  * 2 - No<br>
* &#x20;**Memory Bank** *\<string>*
  * -1 EPC ID Content&#x20;
  * 0 Reserved&#x20;
  * 1 EPC&#x20;
  * 2 TID&#x20;
  * 3 User<br>
* **Mask Value** *\<string> -* Hexadecimal
* **Bit Position** *\<numeric> -* Index of the first Bit to apply mask.
* **Bit Length** *\<numeric> -* Number of Bits to use in the mask.
