Dear All
There is another way to lock your code in ArcMap application , without create A DLL or COM Components
The easy way to that , you can use the application Object in the ArcMap customization , and place A Password for your Code

Hint : at this level you well lock all the customization Level
I will send the details about this Solution

Thanks
Ibrahim Nawassrah
Khatib-Alami ( Alriyadh)