On the DirectAdmin homepage, you need to click on the "Password Protected Directories" option under Account Management ;
You will then be brought to a screen where you need to click the "Find a Directory to Password Protect" icon. This will bring you to the screen where you can choose which folders to protect.
Once you have selected the folders you wish to protect, you will need to set the username and password, Once you have those that click "Protect".