My cats walked on my keyboard and I was unable to use the Enter Key. This post helped me fix it:
Every time I press the Enter key, a Control Panel window opens to the Edit Plan Settings menu.
Why is the Power Options menu opening every time I press Enter?
You most likely opened the Windows Mobility Center on accident with ⊞ Win+X.
The Enter key will open the Power Options menu while the Mobility Center window is focused. The key should function normally after closing the window.