application API: add new events: Screen On/Off, Lock/Unlock.