Is washing both openings (Istinjaa`) a must before every ablution?
Washing the front and back openings (Istinjaa`) is a must in case they have an impurity, but if they do not, there is no need for that, and Istinjaa` is not a condition for the validity of ablution.
Is the Saum (Fasting) of someone who ate and drank forgetfully while offering fasting of oath expiation invalidated?
Whosoever eats, or drinks forgetfully is exempted by Allah; therefore, he/she shouldn`t break their fast whether it was obligatory, non-obligatory, or expiatory. And Allah Knows Best.
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.
Is it permissible for the guardian, or the father of the child to hit the latter in order to teach him/her good manners?
It is permissible for the guardian to hit his/her child for teaching them good manners once they become ten years old provided that it is done mildly, harmlessly and without intimidation. Actually, such punishment is to be employed gradually i.e. after: asking, warning, and scolding. As for the teacher, he isn`t allowed to hit the student unless the latter`s father approves of it, and it is done according to necessity without intimidation, or harm.