.htaccess protect run/download files from browser

Hello
I have site use template file *.tpl
Normally, I use htaccess file in this directory :

<FilesMatch “\.([php][cgi][pl]|[tpl][)\.?”>
Order allow,deny
Deny from all

But it doesn’t work with Cyberpanel
I check and it can run/download file from brower

Anyone knows how to fix?
Thanks