You have a lamp of 50 W in series with the resistor of 0.1 ohm 5 W.

50W/12V=4.2 A this is the current that flow through the resistor.

4.2 * 4.2 * 0.1 = 1.74 W is the power dissipated by the resistor 5 W is more than dimensioned.

Al.