Trump was the boy.
Everybody knows how that story ended, but as a reminder:
"This tale concerns a shepherd boy who repeatedly tricks nearby villagers into thinking a wolf is attacking his flock. When a wolf actually does appear, the villagers do not believe the boy's cries for help, and the flock is destroyed. The moral of the story is that liars will not be rewarded; even if they tell the truth, no one believes them. "
There's a cost to lying. Sometimes it's your own flock. Sometime's its everybody's flock. Maybe Trump was right, maybe he wasn't. The boy was right about the wolf, eventually, too. The moral remains the same.
There were many people in bioscience, virology, etc. who said it was possible and should not be discounted, but those people were hounded and shut up.
Twitter and FB had policies against it and even now, today Twitter suspended the account for the Fauci email leaker(s). So much for open discussion.
Several media organizations (washington post, buzzfeed) submitted FOIA requests for the emails, and as per federal law, they were released. No leak, normal federal government policy process, driven by mainstream-y media outlets AFAICT.
Twitter has not banned discussion of the theory. Here's a thread from May 27th (Nate Silver) discussing it in some detail:
https://twitter.com/natesilver538/status/1397869883585708034
Here's Ryan Delk from May 23rd saying it even more clearly:
https://twitter.com/delk/status/1396583148524212226
They did have policies related to the lab leak theory, but it seems like a mischaracterization to say that the banned discussion of it.
The only person I can find who has lost their account over related matters is a NY Times reporter who closed her own account after making some fairly dumb remarks about the theory.