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.
What should a person who doubted having missed a pillar of prayer do?
All praise be to Allah, The Lord of The Worlds. The prayer of one who doubts having missed one of its pillars is valid, and nothing is due on him/her since having a doubt after offering the act of worship doesn`t undermine its validity. And Allah Knows Best.
What is the ruling on one who sees moisture on his clothes and doubts whether it is semen or pre-seminal fluid (madhy)?
Whoever finds moisture upon waking from sleep and doubts whether it is semen or madhy, and cannot distinguish between them, he may choose between them and act according to his choice. If he wishes, he can consider it semen and perform the ritual bath, or consider it madhy, perform ablution, and wash what it has soiled. This is because if he fulfills the requirement of one of them, he is definitively free from it, and the default is his innocence from the other. And Allah the Almighty knows best.
What is the ruling on one who performs ablution or the ritual bath while having nail polish?
Nail polish must be removed before ablution or ritual bath so that water reaches what is beneath it, because it is a barrier that prevents water from reaching that area. This is based on the hadith narrated by Ali (may Allah be pleased with him) from the Prophet (peace be upon him): "Whoever leaves a hair's breadth of his body unwashed from major impurity, such and such will be done to him in the Fire." (Reported by al-Bukhari). And Allah the Almighty knows best.