Esc is causing problems

why does esc cause my car to slow down when I turn?

So you don’t crash

ESC in automation cars can be very restrictive, stopping any power from going to the wheels to avoid wheelspin, braking the car to avoid oversteering. If you don’t like it, you can turn it off, or remove it completely in beam.