Using Access 2007

I want all the bound fields in my form to be locked until a command button is clicked. I have already tried locking the form through the OnLoad property using the following code:

=LockBoundContr ols([Form],True)

This approach is not working, unless I am doing something wrong. I am entering this code into the expression builder.

I would prefer to use the module builder if...