Most enemies that do a linear move physically turn towards their target long before the move starts charging and the danger zone pops up, but they are still "locked on" to where you were. Just keep an eye on an enemy if they begin turning around suddenly and start moving when you catch it.