Hi,
You would need to store some form logic, such as "CurrentUser" and "CreatedBy". Once you have data connections and rules in place to set these values, you can use conditional formatting to disable fields.
For example: if CurrentUser is equal to CreatedBy, disable this field.
It should be codeless and easy. Good luck!