add Lock the _pEntity so no one uses it, check `AttackGroundAction` on how lock is used