Fix lock_many race condition

it would be useful to know also what the request method actually was. 'this URI only supports PUT and POST requests but got $method'