Do the trims make siding waterproof?

No. Trims make it easier for the water to run off the siding. Watertightness must be ensured before installing the siding.