You can use the Blueprint Thread Safe Update Animation override function to evaluate logic in your Animation Blueprint in a Thread Safe manner. You can add the Blueprint Thread Safe Update Animation function to your Animation Blueprint in the My Blueprint panel by selecting it in the Override down-down menu adjacent to the Function section.