> For the complete documentation index, see [llms.txt](https://zillion.gitbook.io/iredistrict-online/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zillion.gitbook.io/iredistrict-online/lock-districts.md).

# Lock Districts

In the toolbar, there is a lock/unlock tool.  The **lock** function in iRedistrict gives the user an option to lock some districts of an existing plan while continue to optimize the remaining areas.&#x20;

Click the lock tool and then click the district on the plan to lock these districts. Then click "run" to rerun redistricting. The new plans will preserve the locked districts and redraw other districts.

Use the unlock tool to unlock the districts.

![](https://1290289219-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJsnHHmk9OWLYxtvEU3%2F-MQK6dEyHvF671grLLcz%2F-MQK7U-fmX1BNsDjEPbp%2FScreen%20Shot%202021-01-05%20at%207.36.13%20PM.png?alt=media\&token=35322869-c0b1-42f6-b29e-5bf1c06ae8d3)
