I've been trying to find a way to disable the local keyboard and mouse so that when I do a remote NX connection to the local display, it doesn't leave my workstation open. I'm not sure if this is possible given the NX framework (it may depend on a local keyboard/mouse). I've tried google with no luck.

I have an SSH connection and serial connection to the box so I can reenable/enable over a terminal without totally locking myself out.
Any ideas?