Only if the SDK supports it. I can't, for instance, put widgets on the lock screen to see how many unread emails I have. Or have the locked device light up due to an event that my background process detected.