how to have an active display but keyboard locked
There's a program for this called Lockey

I have not tested this, nor I own this. But you could try it out. 
It's not free (at this moment) and they do not support Mavericks (yet) as they claim OS X 10.5 up to 10.8