Disabling the "keep pressed" function of OS X sticky keys
You can't turn off the "key lock" functionality (last checked on OS X 10.8.2). You can however install KeyRemap4MacBook, which allows you to make modifier keys sticky without this "key lock".