Nice game, haven't encountered issues with it.
If by softlock you mean that the ball is stuck in place, you could check if in the last 3 seconds the ball has moved less than 0.1 units (or something like that). If so, it's probably stuck, so reposition it somewhere else.
The game could use some music, and maybe you could generate the pin positions randomly, so each game would be unique.