If your shipping builds disable console commands, this may depend on what your Console Class setting is in the Project Settings.
By default, the console works fine in shipping. There’s even a mobile shortcut for “show console” – four-finger tap.
I just built this exact project to release mode (on Windows) and pressed my screen shot key (F6, bound to Event Screen Shot) and the screen shot came out.
I could also press backtick, and the console rolled up, and I could execute the Shot command.
That being said, @Husky211 shows the Blueprint nodes that you can use if you don’t like the console, they do the same thing!