Yep it was on purpose :D. You have electricity transformers in the right down corner outside, and if they break, they will lock random 3 out of the 4 doors.
The music with alarm sound should help you identify, if something needs repairing.
Oh so thats what that was doing! Ok :D I didnt really notice it before the very end.