095e414f12
While it's still session-limited, this means you don't have to restart to get your locking ability back. Finer-grained locking enablement probably makes better long-term sense, but this at least prevents "gun shyness" about a setting you can't turn off again easily. Also it gets a bool's-worth of application configuration state out of a dialog (it was a static).