VBA code can be protected with a password (although it can be hacked using third party software).
Regardless, adding a password does NOT prevent access to the vb editor.
My workbook contains very hidden worksheets, so the only way to unhide them is using code.
But even if the code is password...