I get what the author is getting at. But this particular example doesn't really help with the conclusion. The solution is still about locks, just that the 2 locks are now linked together.
There are no locks in doors at all. There is a single mechanism physically connecting the doors together, so that neither can be opened, and that can only be engaged and disengaged from the inside.