Fine-grained locks (WIP, Part 2).