10W 40 is thinner than 20W 50... Thin oils quickly get in circulation in a cold start up specially in winters and prevent engine from damage, but on high speeds its useless.. it will become too thin.
Likewise thicker oils would damage the engine in a cold start up but keep the engine happy at high speeds, always try to stick with original oil rating, also ideally dont mix oils..