Fine grained locking