It isn't just the enter key though. The sheath key which is backslash does it too. Also, another key I have bound to T does it too. On top of that, as myself and someone else who has a thread said, it randomly crashes the game when trying to close it.Pressing enter opens the log box in the bottom left, just press enter again to exit it. Like you said it locks in your last action so you can use this to your advantage to auto run in towns or villages. This is intended and not a bug.
If this is intended, it is stupid and should be able to be turned off, because 1. It's overlapping keybinds and 2. It's crashing the damn game.
Also, it doesn't happen in a previous version/s I've played.