When you are running Raspbian without graphics (GNU bash), only in bash mode, if you press ALT+F2, ALT+F3... you switch from current tty to another.
How to make that if you press these shortcuts nothing happens? Not even switching, nothing.
Why do I need that? I have a Raspberry without screen launching a python script on launch that listen keyboard entry, I already catch all ctrl+c, ctrl+\, ctrl+Z etc. but the user can switch tty and then it's no more on the tty1 with the script running.