The folder has now been locked and will disappear.ġ0. In the space below it, type “Y” in uppercase and hit Enter. bat file, and a new window will pop up asking if you are sure you wish to lock the folder. Drag and drop all the files you wish to keep private inside this new secret folder except for the. Double click on this file to reveal a new folder that pops up. A new batch file will now appear inside the folder carrying the name you choose in the previous step. In the new window that opens, save the file type as All Files, and change the name of the file to Lock or any other name you wish, but make sure to add the extension. Go to the top of the text document and select the File option. Make sure to leave a single space before and after the password.Ħ. In the 22nd line of the code, change the word “mypassword” to whatever password you wish to use for the folder.