Should be an easy fix.
re-create the batch file by copying the following and pasting it into that folder you created.
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%== test1 goto FAIL
attrib -h -s "HTG Locker"
ren "HTG Locker" Private
echo Folder Unlocked successfully
echo Invalid password
echo Private created successfully
NOTE that I bolded the one change to make use of the test1 password you say you used. You could have just as easily gained access by typing PASSWORD_GOES_HERE since you did not EDIT the batch file as the instructions stated to perform the following after copying their script into notepad:
The next step is to change the PASSWORD_GOES_HERE<i><b> text to whatever
you'd like your password to be. Don't use an easy-to-guess password.
Now we need to save the text document.</b></i>