When a non-player creature has custom resource in inventory, prevent all movement?

I have begun working on a very basic mod to learn how things work in the dev kit. I created a new resource and have assigned a crafting cost, custom weight, and a new icon. It works but now I am wanting to have this resource affect the creature that has it in its inventory.

I would like to make this resource halt all movement for the creature that has it in their inventory. Setting a high weight of the resource is not viable because the creature must not become encumbered by this resource as more resources will be added and removed from their inventory.

I am assuming this would have to be done with graphs but I have no experience with graphs. I have watched the “ADK New Structure and Beginners Setup” (custom vault tutorial video) and it touched on graphs but not really what I want to accomplish. Can someone help me out or point me to a tutorial that would explain how to do this?