Well, LNBits has an extension for that: https://github.com/lnbits/paywall
That said, I'd encourage you to think about the implications of paywalls. Paywalling your content will probably just make people less likely to read it (unless you have some sort of clickbait-y title). Receiving donations is a better way to allow people to express their gratitude for your content without forcing them to participate.
