Stepfather 2
Make Room For Daddy
(1989)

Carol (Meg Foster) realizes that Gene (Terry O'Quinn) is crazy on their wedding day.  

They fight, and just as it looks like curtains for her, her son Todd (Jonathan Brandis) escapes from the closet he had been locked in and kills Gene with a hammer.

Thanks Greg B!