Android Hub 4 you : the free android programming tutorial: How to unlock the Android Phone programmatically? | Code for start another activity when phone screen is lock | Alarm Manager in
android - How can I interact with the Lockscreen layout to display text into it, like this app: - Stack Overflow