With all things API I usually start by asking 'why' for any given problem.
Why do you want/need to lock the players tokens? Are they being disruptive or metagaming, rather than iron fist I'd adopt a social approach and talk to them about it... extreme case, kick the offenders.
Next up is the simple solution, move the player ribbon to a splash page in-between encounters.
Next up is the low tech solution, draw a DL box around them out of combat, they won't be able to go anywhere.
Finally you get into the API solutions, TokenLock is the only currently 'released' one that I know of, could likely tweak that to allow GM control still? Failing that you'd need something bespoke I reckon.