Private Sub Form_AfterUpdate()
Me!LockedForAccess = True 'Logical Field
End Sub
Private Sub Form_Current()
If Me!LockedForAccess Then 'Logical Field
Me.AllowEdits = False
MsgBox "This record cannot be edited."
Else
Me.AllowEdits = True
End If
End Sub