View Source Ash.Resource.Change.GetAndLock (ash v2.21.13)

Refetches the record being updated or destroyed, and locks it with the given type.