Seat belts stop you tumbling around inside the car if there is a collision. Upon sensing a collision the seat belts lock in place. When the car crashes, there is no unbalanced force acting on the person, so they continue forward (Newton's First Law).