Modify SkeletalMeshComponent bone transforms at runtime

To do this you would have to create a custom AnimGraph node.
You can’t modify bones transforms from outside AnimBP while they are controlled by animation thread, unless you make some kind of custom IK node for the state machine graph.