Williams reached the women's singles final in just her fourth tournament since returning from maternity leave after the birth of her daughter.