Einstein didn't resist being told what to do, not so much, but he hated being told what was true.
In 1905, Einstein had just received his Ph.D. He wasn't beholden to a thesis advisor or any other authority figure." His mind was free to roam accordingly.
In Einstein's day, if you tried to say that light was made of particles, you found yourself disagreeing with physicist James Clerk Maxwell. Nobody wanted to do that. Maxwell's equations were enormously successful, unifying the physics of electricity, magnetism and optics. Maxwell had proved beyond any doubt that light was an electromagnetic wave. Maxwell was an Authority Figure.
... (It was because Einstein didn't care for authority, that he boldly got to solutions for problems like photo electric effect, before more experirnced Physicists like Max Planck did.)
In retrospect, Maxwell was right. Light is a wave. But Einstein was right, too. Light is a particle. This bizarre duality baffles Physics 101 students today just as it baffled Einstein in 1905. How can light be both? Einstein had no idea.
That didn't slow him down. Disdaining caution, Einstein adopted the intuitive leap as a basic tool. "I believe in intuition and inspiration," he wrote in 1931. "At times I feel certain I am right while not knowing the reason."
...
"I have no special talents," Einstein claimed, "I am only passionately curious." And again: "The contrast between the popular assessment of my powers ... and the reality is simply grotesque." Einstein credited his discoveries to imagination and pesky questioning more so than orthodox intelligence.