For that matter, I can configure regular buttons (but not applets) to see how they're set up. Is there any way “to peek” inside of an applet?
P.S. I found the answer to one of my questions. kdesktop_lock will “lock” the screen with or without a password depending on options. There doesn't seem to be any official documentation for it though.