This is the code for the Xp folder locker.Paste the below data into notepad and save with the ".Bat" file.
Here the Vallet is the desired folder. and the 0000 is the password
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ECHO OFF
title Folder vallet
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST vallet goto MDLOCKER
:CONFIRM
set/p "cho=Are you sure u 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.
goto CONFIRM
:LOCK
ren vallet "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
set/p "pass=Enter password:"
if NOT %pass%==0000 goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" vallet
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md vallet
echo vallet created successfully
goto End
:End
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~