File make a copy. This will bring up a script in a new window or tab.
How To Password Protect A Google Sheet Smartcloud Support