View Source Ash.Resource.Change.GetAndLockForUpdate (ash v3.0.8)

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