Lockable template tabs

Adding the ability to lock tabs on templates, making them read only.
Merge pull request #46 from ChrisAntaki/patch-2

Lockable template tabs