Hello, while playing in Free Mode or Story Mode, just start typing the code (no popup or pause is required). Also make sure your typing keyboard is set to eng USA (since some symbols are changed between keyboards).
Backspace key > right shift key > key > key > key
The code should become active. If you accidentally pressed something else just move a little (wasd) to cancel the current code input string.
Please inform me if there are still any issues