If you have any personal data in your computer, you can lock it with password using this trick.
In the computer, there is a locker which is already named Bit Locker. But this does not lock any one folder. If you use Bit Locker you will have to lock at least one of your own drives on your computer. But here’s what the trick is going to tell you, you can lock a file or folder with its help.
If you have to lock the folder on your computer then read this trick to the last,
[MUST READ : How To Create Bootable Pendrive Using Command Prompt (CMD)?]
How to Lock a Folder with a password using Notepad Step by Step
title Folder Private
if EXIST “HTG Locker” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
echo Are you sure you want to lock the folder(Y/N)
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
ren Private “HTG Locker”
attrib +h +s “HTG Locker”
echo Folder locked
echo Enter password to unlock folder
if NOT %pass%==Type your Password goto FAIL
attrib -h -s “HTG Locker”
ren “HTG Locker” Private
echo Folder Unlocked successfully
echo Invalid password
echo Private created successfully