Is it a condition that a woman should untie her locks while making Ghusl (ritual bath)?
Ghusl from Janabah (ritual impurity), or menstruation obligates that water reaches the roots of the hair in order for the Ghusl to be valid, but if it doesn`t, then hair locks must be untied for water to reach them, and for Ghusl to become valid.
Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
Is it permissible for a woman whose menses exceeded (15) days to pray, fast and do what was prohibited on her to do during the latter period?
If the menses exceeded 15 days then it is deemed menstruation, and in this case she is obliged to pray and fast and to do what was impermissible for her to do during the latter period. In addition, she is obliged to make an ablution for each obligatory prayer after it's due time and making sure that impuity is removed. Finally, your menstruation period is over (Questioner) simlar to your menstruation in the previos month.
Does bleeding from the body, such as from wounds, invalidate ablution?
Bleeding doesn't invalidate person's ablution. And Allah Knows Best.