An "auto-walk" glitch is activated by using the Inner Thoughts menu on your equipped weapon, selecting the "carry" option and then selecting the "equip" option in the same menu.
Following these steps makes you character walk in one direction regardless of facing any other direction.