gh pr lock 123 --reason resolved

Category: GitHub CLI

gh pr lock 123 --reason resolved

Lock a PR conversation

Locks the PR so only maintainers can comment, and --reason records why: off_topic, too_heated, resolved, or spam. Locking stops drive-by noise on settled discussions. Reverse it with gh pr unlock.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.