Suppose you want to lock the folder "movies" in "d:" which has the path "D:/Movies"...
In the same drive create a text file(.txt) and type
"ren movies movies.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
Now save this text file as "loc.bat"
Create another text file and type in it
"ren movies.{21EC2020-3AEA-1069-A2DD-08002B30309D} movies"
Now save this text file as "key.bat"
NOTE- WHILE SAVING CHANGE "Save as type" TO "All Files"
thats all!
In the same drive create a text file(.txt) and type
"ren movies movies.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
Now save this text file as "loc.bat"
Create another text file and type in it
"ren movies.{21EC2020-3AEA-1069-A2DD-08002B30309D} movies"
Now save this text file as "key.bat"
NOTE- WHILE SAVING CHANGE "Save as type" TO "All Files"
thats all!