I used token-mod for exactly this purpose a couple of years ago (and it worked perfectly). But what I found was that my players hated having their tokens locked down, and it seemed to drag down play with an extra step to unlock (I did not, however, fully automate it). I used it for a couple of months, and when my players complained, eventually said "ok, I'll turn if off it you actually pay attention and don't move your tokens until I say you can". It was a bit rough at first, but having the majority of the players aligned with me brought the cowboys to heel. A nice bit of social engineering. It does help that I have older and, theoretically more mature, players. And I relented a bit on moving tokens short distances while I did the intro to an area (and limited that with fog of war or doors locking off bits I didn't want them running into). But, I'd still suggest using it as a tool to engage with the players as to why they need to not move too soon, rather than simply a "you will do what I say" fence. In the long run, that makes for happier players and more fun.