Flat head deck screws are often referred to as the best-designed screw for building a deck. The head design is made to go flush into the wood with a wide top for extra hold, while reducing the screw's ability to be sunk too far into the structure. The flat head is a favorite of many carpenters because it does minimal damage to the building material, including soft wood.
Trim head deck screws are similar to the flat head's design because it sinks flush into the wood. But trim head screws are less noticeable when inserted because of the smaller head, allowing them to hide in the structure. Only seasoned professionals tend to use this screw due to the possible damage it may cause to the deck if the screw pulls through the wood. Predrilling holes for these screws is recommended.
Composite head screws are specially threaded to create more hold. They have a more compact head design, resembling a rivet, to create less wood dust when they're inserted. They tend to be used in combination with either flat or trim head screws to keep wood from warping or mushrooming.
Lubricated deck screws can be of any variety (flat, trim, or composite) but are coated with oil or another lubricating solution so the screws sink into the wood with minimal effort. They have the same hold as a normal screw with no drawbacks.