Suppose AA has some important files in this folder and I want to password protect these files.
Now create a batch file into the folder. I've created a file called FolderLock.bat into the folder.
Now go to the link https://pastebin.com/KVE7mKiB and copy the code into the FolderLock.bat file. Notice line number 21. Here you need to replace YOUR-PASSWORD with your expected password like pass123 or whatever you like. Carefully notice that space has both sides of the password.
Now double-click on the FolderLock.bat file. A folder will create with the name of private.
Move your files into the private folder except the FolderLock.bat file.
Now again double-click on the FolderLock.bat file. You'll see a pop-up dialogue box. Write there capital letter Y and hit Enter.
You'll see that the private folder hide and only has the FolderLock.bat file. To see your files again double-click on the FolderLock.bat file. You'll see a dialogue box and type your password. Then hit Enter.
You will see that the private folder is visible.
Fun :)