Sorry to hear that you got killed while minding your own business. That sucks, to say the least. I always submit/run from interdictions, exactly the way Xebeth describes it below. Even when I'm flying my battle ready Python. The fight, and collecting the bounty, is more trouble to me than it's worth.
BTW, if you participate in PP you get interdicted a **LOT** more. So, if you have pledged to a power you may want to considering leaving it so that you can have a more peaceful E-D experience.
Xebeth wrote: When you are travelling put 4 pips into engines and 2 in system, if you get interdicted don't fight it, just zero your throttle and submit, as soon as you come out of SC hit boost, keep hitting boost until your FSD comes on line and the jump out again, if you find you are mass-locked choose a different system to jump to (this nullifies the mass-lock).
I didn't know that you can select a different system and it cancels the mass lock. Wow... thanks Xebeth!