Add `unlock-deads` sub-command.

Also set the `locked_by` field, which is used by `unlock-deads`. See help
message and associated comment in the code for a description.