Creating password protected page with Password set up in Database

Hi!
I am creating a simple page that needs to be password-protected. There will be two passwords created in the Database. Since I am a complete beginner, I am struggling with Workflow. Can someone please help me set up the correct events?

There is a page with an input field for passwords and an Enter button that takes you to another page.

Best

Thanks, I already watched this video but this is not what I am looking for. I have only one input field for the password which is set up in Database.