All of these analogies break down because there is no real world equivalent to a purely defense action like locking your doors.
The idea that NATO and the US especially only engage in defensive military actions is what requires an insane level of reality denial.
At any rate, Im not even trying to claim Russia has a moral high ground, just that the situation was completely predictable. At best, it was like putting your hand in a cage with the rabid dog. You can make a moral point that the dog shouldn't bite, but it is still idiotic to ignore the barking, snapping, and foaming at the mouth.