Preventing a vehicle from rolling

I actually ended up finding a solution from the Unity answer hub, so I’ll post that as an answer for anyone needing this in the future