Set Messages notifications to banner.
Preview on,
display on lockscreen on.
Have someone text you a few times and try to quick reply from the banner or from the lockscreen by sliding to reply.
If you're referring to how it reverts to the default keyboard, I'm pretty sure in this case it's intended behavior and not a bug. Apple doesn't want the third-party keyboard process to be able to load when the phone is locked, period.