How do transformer obey Ohm's law?
Ohm's law describes the behavior of a resistor; it doesn't say anything about an ideal transformer.

It is true that the resistance of the windings causes a power loss and a real transformer doesn't behave like an ideal transformer.

The resistance and inductance are not directly rated, so no, changing the resistance does not necessarily change the inductance.