I am just beginning with Home Assistant. I wrote a blog about setting up a dashboard with a card to lock a door and to change the security codes on it.
My write up walks a beginner through obtaining hardware, installing Home Assistant, creating a script, creating helpers, making the script use the helpers, and adding a dashboard with a card.
I hope it helps other beginners.