Secret.Item.locked

Item.locked: Boolean (Read)
  

Whether the item is locked or not. An item may not be independently lockable separate from other items in its collection.

To lock or unlock a item use the Secret.Service.prototype.lock or Secret.Service.prototype.unlock functions.