Take a look at this approach, I am attempting the same solution in our Python script-
locator_fn = 'my_address_locator.loc'
locator_file = open(locator_fn,'a') # open for appending
locator_file.writelines('MinimumCandidateScore = 70')
locator_file.writelines('SpellingSensitivity = 70')
locator_file.writelines('MinimumMatchScore = 70')
locator_file.close()
Locator Properties: