The turkey usually produces females for several generations.How is this possible?

This is possible due to parthenogenesis. In birds like turkey, only the female gamete undergoes development to form new organisms without fertilization. This phenomenon is called parthenogenesis.