public numeric function lockForm( required string id )
Locks the given form so that it can no longer be edited.