Problems with solutions are not always immediately obvious, even once you try them
I have occasionally fallen victim to this: I try a solution, it works, I upvote it...and then 15 minutes or an hour later, as I've continued to build on it, I realize it actually had a hidden limitation or footgun that made it a bad idea, and another solution would have been better. I cast my vote after having validated it...or so I thought, but I still had a legitimate reason to retract my vote an hour later.
In terms of preventing the sort of mass unvoting that is the stated goal of vote locking, even a timeout of as much as an entire day would be completely effective, and it would give plenty of time to discover hidden issues that you might have missed at first. This would help the actual best answers rise to the top, not just the ones that seem best at first glance.