I am going to sugguest this and mind you it is just that.
Do as you consuler advised you. There are many reasons I could state for you to do so. But the biggiest if your H tries to take your children and you have this on record the judge will take that into consideration.
Also I know everyone is telling you to read this book and that book not really on the book bandwagon have tons of them. But I recently located a book that you may want to read it is not to help your marriage it is to help you .
The Emotionally Abusive Relationship : How to Stop Being Abused and How to Stop Abusing
I myself have a simular sitch but I am not intruding on your thread. I have my own. But your H emotional abuse seems to be escalating in to physical abuse and down right torture ie locking someone in a room is illegal as well as immoral. And trying to make a game out of it to your child is only going to encourage that child to join the game this is fun lets lock mommy up.Next time there may not be a window but a box of matches included in the game.