# Dn Transferlock

> 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.

- Skill: `automattic/dn-transferlock` (Agent Skill)
- Install (CLI): `npx skillmds@latest add automattic/dn-transferlock`
- Raw SKILL.md: https://api.skillmd.com/api/skills/automattic/dn-transferlock/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Automattic (https://skillmd.com/u/automattic)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/automattic/dn-transferlock

---


# 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

