The bucket doesn't have to have a lid while active fermentation is going on. But as soon as it slows down, you want the minimum amount of headspace possible. This usually means a carboy, since they have very small necks as to minimize the headspace. A bucket has WAY too much headspace, even when nearly full, since the bucket might be 10-15 inches across.
Broken Leg Brewery
Giving beer a leg to stand on since 2006