It may not be the most efficient way, but you can copy the Table Script, paste it into a new script and then encrypte the script. Granted, any time you make changes to the data you'd have to repeat the process, but I don't believe you can directly encrypt the data tables.
In SAS we can lock a dataset with a password. We should use the option PW to assign a password. Check the example below.
input name $ age;
After you run the code, once you try to open the dataset y1, it will promot of the password.
Hope this helps