Box squats are great for learning how to sit the hips back and keep the spine neutral. The box gives a safe depth target.
"Swing" might be the operative word here. The putterhead can’t swing when you use only your shoulders to power the stroke.