Use your if statement to create the security.
The line would be along the lines of
me.NameofControl.enabled=false
This will prevent a user from typing in the listed control.
If you haven't got too many fields, follow the example and list them all. If there are too many, I'll try and amend...