***

title: lock
slug: /reference/typescript/agents/skill-registry/lock
description: Lock skill names to prevent overwriting.
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Lock one or more skill names to prevent overwriting. If called with no arguments,
locks all currently registered skills.

## **Parameters**

<ParamField path="names" type="string[]" toc={true}>
  Skill names to lock. If omitted, all current names are locked.
</ParamField>

## **Returns**

`void`