He's teaching your DC where they are in the pecking order too. That's very unhealthy and will lead them to accept unhealthy relationships as normal, that suppress, disadvantage and possibly abuse them, as a teen and adult.
It would be one thing if you'd accidentally locked yourself out of an empty house. Then it would be a story of 'Mummy being resourceful, dealing with a silly, difficult situation and making it ok'. In normal times you could have gone somewhere else indoors until DH got home, or you could have broken in or called a locksmith. An adventure.
'Daddy locking us out in the cold, he wouldn't let us in for an hour and I had to wee in the garden' is not an adventure. It's cruelty.
People who know you, know what your 'D'H is like. They're playing it down because they know you're stuck with him - until YOU decide to unstick yourself. That's what close friends and family do. They don't challenge the big things, the 'elephant in the room', for fear of alienating you and losing your confidence. They want to be there for you when the shit does eventually hit the fan and you need people to catch you and care for you.
This has always been my experience, that the people closest to me listen and sympathise with the small stuff but do not challenge my big, bad decisions. It's acquaintances with no skin in the game who do that, who ask the obvious but very awkward, difficult to answer, questions.