There’s an excellent Character Animation in UE4 Livestream covering the basic animation using Blend Spaces. In most cases, blending between idle and walk or run is done based on speed of the speed of the player, getting a smooth transition. The video does explain stuff perfectly, using Animation Blueprints.
I hope this is helpful for you.