DashClock is an open source app developed by a Google employee named Roman Nurik. It shows a lockscreen widget with useful info like unread messages, miss calls, battery life etc... This app became popular very quickly, despite being available only for Android 4.2 devices.
https://play.google.com/store/apps/details?id=net.nurik.roman.dashclock
Nexus 4 - Android Lock Screen Widgets - Dash Clock - Review - YouTube
But what makes this app special is that developers like us can hook into DashClock app, thereby displaying our own lockscreen notifications via this app. The developer calls it DashClock Extension and there are already hundreds of extensions available, some are even paid.
https://play.google.com/store/search?q=dashclock+extension&c=apps
We can either display our own app's notifications or offer to display the notification of a different site/service (like Facebook, Twitter) using an app of our own.
But either way we need a mechanism to access the DashClockExtension class in B4A.
https://code.google.com/p/dashclock/wiki/API
I hope someone can come up with a library. It is really exciting.