# `Ash.Resource.Change.GetAndLock`
[🔗](https://github.com/ash-project/ash/blob/v3.23.1/lib/ash/resource/change/get_and_lock.ex#L5)

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
