but is it possible that the lock is OK and the records are OK, but no records are updated because of the given condition?

For example we want to save all records for age > 30 but there are no records with that condition in the table... in that case the message "object is outdated" is not relative....