It's fine to cover the pot with a lid while the water is coming to a boil (I actually recommend it for efficiency), but once you add the pasta, boil it without a lid.