ISPN-3077 cache.lock should work within the scope of batching

https://issues.jboss.org/browse/ISPN-3077