Fix lock_many race condition

are these asserts here for debugging or they are really meant to be set as safeguards? Haven't seen them in paddles so far.