When setting the Locked property of Total Access Memo in code, you must make sure you use the .Object syntax. For example suppose you have a control named tamDemo. The following code does not set the property:
tamDemo.Locked = True
This code must be changed to:
tamDemo.Object.Locked = True
This is because Access has a locked property that conflicts with Total Access Memo. This is an issue for any custom control that provides a locked property.