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.