Delete the original folder (optional but safer). Now to open it, double-click the archive → enter password → extract.
Right-click your folder → hover over 7-Zip → click Add to archive…
Click OK . A new .7z file appears.
“Want to password protect a folder for free? Use 7-Zip. Here’s how in 60 seconds.”