CyberPanel htaccess password protection

Does CyberPanel support directory locking with password by htaccess password protection?
If so, how?