- TIBCO BusinessEvents®
- ActiveSpaces(Deprecated)
- Metaspace
- Space
- Options

# Metaspace.Space.Options.setUnlock()

## Signature

`Object setUnlock (Object options, boolean unlock)`

## Domain

ACTION

## Description

For TakeOptions - Specify whether or not to unlock the key of a tuple after it is removed from a space.
For PutOptions - Specify whether or not to unlock the key after storing a tuple into a space

## Parameters

Name | Type | Description
--- | --- | ---
`options` | `Object` | The TakeOptions or PutOptions object
`unlock` | `boolean` | true - Unlock the key. false - Do not unlock they key.

## Returns

Type | Description
--- | ---
`Object` | The updated TakeOptions/PutOptions object

## Cautions

none