lock(1) is not a secure method of locking your terminal. Not only can it be stopped when running under csh, but there is a serious security hole in the source code.