I don't think there's an obvious way. It may be something that's acheivable using dbus scripts? Might be worth asking in this thread.
/usr/bin/logit.sh * * com.nokia.mce.signal tklock_mode_ind *