# _CP_unlock

_CP_unlock is equivalent to the `unlock *expression*` BASIC statement.

## Syntax

```
int _CP_unlock(int expression)
```

## Description

This function returns -1 if
an error occurs. The error code is contained in _CP_errno.

## Example(s)

```
_CP_unlock(1);
```

## See also

- [C functions overview](https://d3codex.com/cfunctions/c-functions-overview/)

---
Source: https://d3codex.com/cfunctions/cp-unlock/ - part of the D3Codex reference.
