To password protect your block diagram, select VI Properties>Security. Details are in LabVIEW Help. Just have to type in password protection for the keyword to find the help topic. If you are asking about some other kind of password protection, please explain in further detail what exactly you want.