Not exactly sure what you mean by locking your program source code. Do you
mean hiding the HTML from viewers? Forget it. The page is downloaded into
the internet cache and the file is available in the internet temp files to
be read. You can use a javascript to disable the right-click, but a user can
still view the source from a menu.
Hope this helps,
Mark Fitzpatrick