Why does it not switch lanes

I followed the video from Virtus but when I use the arrow keys for my character to switch lanes, it glitches back to the previous lane, and does not switch it.