Your lawyer is right. After filling your H-1b transfer, you can go and work for your second company. You do not need to wait till you get your receipt.