PIM-3461: Mark attribute à read only when updated by variant

| Q                    | A
| -------------------- | ---
| Bug fix?             | N
| New feature?         | Y
| BC breaks?           | N
| CI currently passes? | Y
| Tests pass?          | Y
| Scenarios pass?      | ?
| Checkstyle issues?*  | N
| PMD issues?**        | N
| Changelog updated?   | N
| Fixed tickets        | PIM-3461
| DB schema updated?   | N
| Migration script?    | N
| Doc PR               |
pass the reference factory object here