Dear All
per your request , you can use the application object that can be access from any module, and use the unlock customization
put your password like this example :
Application.UnlockCustomization("GISNET")
you can run this code any time and any where , then the customization will lock and you cant edit your code or see it.
Best Regards
Ibrahim Nawassrah
GIS Developer
Khatib&Alami