You can lock a directory with password by using the cPanel "Password Protected Directories"...
Powered by WHMCompleteSolution