This PR is a minimal change that acquires a lock on the target model's row, rather than calling sharedLock() on the model instance.