Carlos Alcaraz secured his passage into the fourth round of the Australian Open with a 6-2, 6-4, 6-7(3), 6-3 victory over Nuno Borges.