# dn-transferlock

Locks or unlocks a domain's transfer lock to block or allow moving it to another registrar, using the dn CLI.

Skill by Automattic. Category: Shipping and ops.

## Install

Project (for this project only):

```sh
npx skills add automattic/dn-cli --skill dn-transferlock
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx skills add automattic/dn-cli --skill dn-transferlock -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.

## Security audits

- Gen Agent Trust Hub: Pass
- Socket: Warn
- Snyk: Pass

Installs: 5. Installs counted by skills.sh. [Open on skills.sh](https://www.skills.sh/automattic/dn-cli/dn-transferlock)

## Source

[Open the source](https://github.com/automattic/dn-cli/tree/HEAD/skills/dn-transferlock). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

## SKILL.md

````markdown
---
name: dn-transferlock
description: Set or remove the transfer lock on a domain using the dn CLI. Use when the user wants to lock or unlock a domain to prevent or allow transfers to another registrar. Partner mode only.
---

# dn transferlock

Set or remove the transfer lock on a domain.

## Usage

```bash
# Lock domain (prevent transfers)
dn transferlock example.com on

# Unlock domain (allow transfers)
dn transferlock example.com off
```

## Arguments

| Argument | Description |
|----------|-------------|
| `domain` | Domain name |
| `state` | `on` (lock) or `off` (unlock) |

## Notes

- **Partner mode only** - user mode shows redirect to `wordpress.com/domains/manage`
- Transfer lock should be disabled before initiating an outbound transfer
- Use `dn info <domain>` to check current lock status
````

- Previous: [dn-transfer](https://syn4pse.dev/terminal/automattic-dn-transfer.md)
- Next: [drive-process](https://syn4pse.dev/terminal/deepgram-drive-process.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
