If I have to leave a bike locked outside for a long time, I lock up a $25 beater bike with a brand new Kryptonite NY lock and a cable.
One time a guy said to me "Your lock is worth more than the bike".
My answer was "exactly, who would bother with this bike?"
There is no guarantee that this will work 100% of the time, but it it the best you can do.