View Source Ash.Resource.Change.GetAndLockForUpdate (ash v2.19.3)

Refetches the record being updated or destroyed, and locks it for update.