keyvalued: add r_lock/r_unlock ops.