Why is the option to reply to a text on the lock screen only popping up sometimes?

Lock screen reply

Why is the option to reply to txt on lock screen only pop up sometimes?
Re: Lock screen reply

make sure you have show previews on in Notifications then swipe to the left on the message on the lock screen to revel the "reply" option

Original thread: https://forums.imore.com/threads/why-is-the-option-to-reply-to-a-text-on-the-lock-screen-only-popping-up-sometimes.307451/