Fine-grained locks (WIP, Part 1).