Sri Lanka secured a convincing 155-run win over Afghanistan in the second one-day international on Sunday, taking an unassailable 2-0 lead in the three-match series.