How do I guarantee that animation sequences are played up to certain frames?

Here’s my problem.
How can I create a feature in my Animation Blueprint that guarantees that when a certain animation sequence is played, it will play up to that particular sequence of animation?
For example, you have a character walking in the right direction and the player presses the left key.
At this time, I want to run an animation where the character walks to the right until a specific frame and then turns left, instead of running the animation of turning left immediately.
I want to make the character move a bit heavy.
How can we solve this problem?

Like character movement of Assassin’s Creed