Direct the mouse for the needed folderand click the right mouse button. In the opened tab, select "add to archive...".
In the opened window select the "Advanced"tab.
Click on the button "Set password".
In the opened window enter the desired password. Click “OK”.
Now press OK in the archiver window.
As a result, the folder is in the archive.
While trying to retrieve the file from the archive you will need to enter the password.
When you open the file directly, you also need to enter the password.