To install catorise, you have to install liblocale-get-text.
For this, add in /etc/apt/sources.list.d/hildon-application-manager.list
deb http://repository.maemo.org fremantle/sdk free non-free deb http://repository.maemo.org fremantle/tools free non-free
then install liblocale-get-text, the catorise.
Command to secure lock and lock device (as custom command for shortcutd):
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.devlock_callback int32:0;dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked"