What am I missing here? That biolabs are the only human made thing that can be made absolutely 100% secure?
This is not true.
GoF includes any research that amplifies specific characteristics. Transmissibility or severity of infection are just two of those possible dimensions.
For example, the research that enables us to produce insulin (and tons of other biologic medicines) with E. coli is GoF.
I lean on the side of banning GoF that's designed to increase transmissibility of a contagion, but that is indeed just a subset of GoF generally.
We can sharpen the language and say "ban GoF research that increases transmissibility of infectious disease", for example.
There's also GOFROC (gain of function research of concern). That's better than just GOF, but rather vague.