Luck, really (manifested as a combination of factors). Locking the wheels in a spin will keep the car sliding in a predictable direction, i.e., the exact direction the momentum is taking it. This is done in the interest of safety more than as a way to “save” a possible impact, but it’s the rule you’re supposed to…