Individual code blocks can have passwords. Right click on the code block, select "Configure Code-Block", and then select "Code-Block Protection" at the bottom. That's not really what you are asking, but that does add an additional layer of protection. It's there so that OEMs who need to allow project access can still lock out access to IP they want hidden.