Use RangeLocks in AtomicOperation where appropriate