Map one of the soft keys (Lock for example) to xdaShutdown located here:
http://forum.xda-developers.com/showthread.php?t=544016
And then choose the Sleep option which blanks the screen and locks immediately. Works great. Gives you options to restart and shut down as well. Custom skins on that same thread as well.