Sorry for your situation at present , from your previous post this behaviour has been going on for years.
This is clearly unreasonable behaviour on the part of your wife towards yourself and your boys,yes hiding away from yourself in the bedroom could be a symptom of depression but it could also be silent treatment in order to punish yourself and your boys and is a form of domestic abuse (I'm a survivor of domestic abuse at the hand of my JW wife and she would do that to punish and control me ) please consider speaking to a marriage counselor or a domestic abuse agency for their advice and support .
For you and your boys and your mental and physical health please seek help and advice from trained professionals for the best help and advice.
Take care and my thoughts are with yourself and your boys.