So you want to add lock protection + track changes to the code? Add this:
Code:
ActiveDocument.Protect Password:="password", NoReset:=False, Type:= _
wdAllowOnlyRevisions, UseIRM:=False, EnforceStyleLock:=True
Full macro:
Code:
Sub TrackChanges()
'replace password with whatever you want
ActiveDocument.Protect Password:="password", NoReset:=False, Type:= _
wdAllowOnlyRevisions, UseIRM:=False, EnforceStyleLock:=True
End Sub