Homebrewing equipment, including the airlock, should be clean and sanitized …
Homebrew beer can come out of airlocks during active fermentation because the explosive growth of yeast and excess carbon dioxide inside the wort can quickly expand to overfill the available headspace inside the fermenter. Using a blow-off tube will allow foam, beer, and yeast to exit the fermenter safely and avoid clogging an airlock.
Any S-shaped airlock or 3-piece airlock works well for fermenting homebrew as long as it is properly sanitized, creates a tight seal with the fermenting vessel, and stays filled with sanitizing solution. Blow-off tubes can be utilized during active fermentation to avoid blowouts and then switched to either an S-shaped or 3-piece airlock later.