Unable edit master detail field in Salesforce

Make sure "Allow reparenting" - Child records can be reparented to other parent records after they are created is enabled.