From what I gather, you have to write your lockscreen, then disable the default one. You can listen for screen on and off events then disable the home button by basically making your custom locksceen a launcher.
This has been asked before here: Developing a custom lock screen
And here: Android Lockscreen API?