[dannunzio] lock uses a hash internally