The colony becomes blockaded when hostile fleet is present in the system during your turn. It doesn’t matter if enemy ships have any weapons, a lone scout would cause the blockade just as well.

The effects of blockade on a colony are: