Without explanation, and without any user input, the character's walking is toggled on, and the ONLY known solution is to relog.
You don't have to be pressing any buttons for this problem to occur. Sometimes it happens immediately upon logging in, sometimes it takes a few minutes. You can walk forward using only the W key and not touching any other part of the keyboard or your mouse, and the walking will toggle on.