You can put a password on the entire Wix site using the settings in the editor.
Wix has a built-in Guest Area feature. You can set up the necessary pages in the editor in the Permissions > Password Holders section.
Next, you need to set your desired login password.
After that, when you enter this page, you will be asked for a password.
If you want to quickly put a password on the site, but you have a lot of pages, and you do not want to put a password on each one individually, this will require a code.