Replacing locking impl with the existing ResourceLockFactory, with a prototype 'try exclusive' lock.