This looks cool, but I would really hate to have to always have the device on me for this to work. I can just as easily hit Control+Shift+Eject to lock the screen when I get up.
I have looked for a solution do doing this before but they haven't worked exactly the way I had expected.
It goes on the same keyring as my house key.