alock: locking the keyboard and the mouse
Translation of the original in Catalan. Read it in: CatalàCastellano
At last I've found it. I had been looking for days for a really silly little tool that I couldn't find anywhere because I wanted it so simple. The whole thing is as simple as: when I launch this application from within X I want the keyboard and the mouse to stop working, but without losing what I have on the screen. And with no way to get back into the system from the console. That is, for example, so that we have to connect via ssh or any other network protocol to kill the process that has locked the console for us.
For now I'll leave the purpose of why I want this up in the air and in a few weeks you'll figure it out for yourselves. Right now I'll just tell you that the tool that has allowed me to do something as simple as this is called alock (local source code). To make it do what I'm telling you about you just have to launch it like this ./alock -auth none. Done, and with only 58Kb.
I'll take this chance to thank the people of TheList for their help in the search.