The mother locked her three-year-old son in rooms for hours, slamming his head against the wall and forced him to endure 'military time outs' in a campaign of abuse