---
name: "gh-issue-lock"
section: "1"
platform: "linux"
package: "github-cli"
version: "2.102.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gh-issue-lock"
---

# gh-issue-lock(1)

Lock issue conversation

## NAME

gh-issue-lock - Lock issue conversation

## SYNOPSIS

**gh issue lock {\<number\> \| \<url\>} \[flags\]**

## OPTIONS

- **-r**, **--reason** **\<string\>**

  Optional reason for locking conversation (off\_topic, resolved, spam, too\_heated).

## OPTIONS INHERITED FROM PARENT COMMANDS

- **-R**, **--repo** **\<\[HOST/\]OWNER/REPO\>**

  Select another repository using the \[HOST/\]OWNER/REPO format

## EXIT CODES

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

## SEE ALSO

**[gh-issue(1)](/gh-issue/1.md)**
