Hi YiCheng,
In general, no, there is not a specific flag to limit loci based on depth of coverage. Stacks2 relies on the SNP caller to call sites as heterozygous or homozygous and if there are not enough reads to do so, sites will not have a statistically significant call and will not be included in the analysis. You can require additional reads to make a call statistically significant by decreasing the alpha value for the SNP calling model in gstacks (say from the default of 0.05 to 0.01).
julian