Here’s an example of a Leg Lock Escape done wrong, by Ronaldo Jr. against leg lock specialist Craig Jones.
Running away can be a good strategy to escape leg locks, as long as you clear your opponent’s grips first, otherwise you will just give your opponent the space he needs to entangle his legs and secure a superior position.