refactor: Move lock merging logic up into `init` command's `Run` method, for transparency.