Lewis century clinches semi-final spot for Patriots