It depends on several things. The turbocharger is a gas turbine driving an air compressor. The gas turbine is powered by hot exhaust gases, up to 1200°F or more at high power. The turbocharger bearings are cooled by continuously flowing engine oil.
If oil of an unsuitable quality is used, it'll coke. If the oil flow is shut off before the turbocharger bearings have cooled, it'll coke.
So, for a diesel engine, any modern oil diesel engine oil is made to work satsifactorily in turbocharged engines. If you run very hard and hot, especially if the engine is modified, I'd choose a synthetic diesel engine oil. In any case, immediately after a hot run, let the engine idle for 3-5 minutes to keep the oil flowing over the turbocharger bearings and take the heat away. Alternately, install an electric post-lube pump to do the same thing.
Ken