How to Customize Lock Screen Widgets on Your Android Device?

I’m trying to make my Android phone’s lock screen look cooler with those widget things. You know, like showing weather or steps or whatever. But I’m kinda lost on how to do it. Can someone explain it easy? Like step by step? Oh, and I heard something about Glance - what’s that about?