Carbon lock-in, how to break it?

Is it better for climate to change quicly to less carbon emmitting technoly or use longer time to trying to break carbon lock-in? And what is the most efficient way to break carbon lock-in?