When i play my Commando's (similar gameplay to a Locust), i will often do small, erratic turns but it really depends on what (and how many of it) is/are shooting you!
When i get shot with a few lasers, i will usually wait for them to connect, then twist my torso and do a quick, hard turn. This way, the first few ticks of the laser beams do connect, but the majority of the damage is wasted. The downside is that you will take some damage but if you do it right, that may be something like taking only 4 damage spread over 3 hitboxes out of a 30 damage laser battery. The benefit is that you can move very fast by only avoiding, while you are being shot.
When facing or running away from a 'mech with few but big weapons, you generally don't want to get hit at all, since every single hit has the potential to severely damage or even destroy you!
In this case, i try to "bait" their shot by moving in a more or less straight or a very predictable line and evade just before the big guns hit. Or you pretend to move a certain way, wait for how long you figure it will take them to lock onto you - then do something else!
However, this method only really works against a single target and requires some game knowledge, good timing and fast reflexes.
Still, it is very satisfying to regularily get accused of cheating or being "protected by lagshield" when all you do is using your targets own impatience and tendency to prematurely pull the trigger against them.

The third case is when up against multiple enemies or a very skilled one with mixed weaponary.
In this case, you want to break line of sight as quickly as possible by using the terrain. Do erratic turns (no, a perfect sinusodial curve is not "erratic"

You can also try to run into a direction where it is more difficult for your pursuers to hit you without hitting their team mates.
Just remember: "If they know where you are - be somewhere else!"