Fix lock_many race condition

Ah, that's some leftover debugging. I'll tweak those.