Baby locked in car rescued after father smashes front door window