5.4 animation sample pack in leg, foot lock

5.4 animation sample pack in leg, foot lock

I wanted to apply the attack feature, so I watched and applied YouTube tutorials, but my legs are locked like the video.
Do you know the solution?