The console can always be opened. Regarding permissions, you need to check the "Commands" section and ideally set everything to "false" there.
However, the "General" section is also important, as it determines what a player can do (e.g., "changegamemode=true" allows them to switch from survival to creative mode).