Mistwell
Crusty Old Meatwad
You can split up your move.
But you must expend an action to disengage from an adjacent enemy.
If you don't disengage and you move away from an adjacent enemy who is not adjacent to your ally, you are opportunity attacked at advantage.
if you are flanked by two enemies who are not adjacent to your allies, they attack you at advantage.
These are the tactical rules I'm using in my game.
To be clear, those are your house rules, not the actual rules. I don't recall anything about advantage with opportunity attacks, or flanking.