22w14a, 22w18a, 22w19a, 1.19 Pre-release 1, 1.19 Pre-release 2, 1.19 Pre-release 3, 1.19 Pre-release 4, 1.19 Pre-release 5, 1.19 Release Candidate 1, 1.19.1 Pre-release 1, 23w06a, 23w07a, 1.19.4 Pre-release 4, 1.19.4
I made a custom enchantment for a datapack that would change the mob's movement speed attribute to 0 and store it back later depending on what it was, and while I was testing this on the warden I found some interesting results. While the warden does keep the anger in nbt under anger.suspects, it sometimes also switches to a different target in the array if the movement attribute is set to 0.
The wardenloses interest or switches target, choosing from the anger.suspects array
The warden will keep anger at the player until it is free to move again.