@cristian1980 Re-home the dog immediately and keep them completely separated (crate and closed door between them at all times) until you do. Your son is just now entering toddler life, where he will get even more mobile and start opening doors on his own.
I have raised dogs with babies...