Fix reds store locking

The current partition locking implementation is broken. More details here: #83