Hold dodge toward them and pre-input an attack. To hold dodge, simply hold you dodge button while moving in any direction to get a hold dodge. You must use a direction as well or you’ll just get a mid dodge. Mid dodges are strong as well but they a require a stricter timing to pull off without getting hit.