A head is the part of an organism which usually includes the ears, brain, forehead, cheeks, chin, eyes, nose, and mouth, each of which aid in various sensory functions such as sight, hearing, smell, and taste, respectively.
Most of our Maraaji' of Taqleed state that covering the face of the female is not obligatory except when not covering the face can cause harm, but in usual cases, it is obligatory to cover all the hair, head, neck and whole body except the face and the hands.
as salam alaikum
It is not compulsory to cover the head during prayer. However it is recommended, especially by wearing a turban.
With prayers for your success.
Woman must cover her hair and body during Prayers even if she is away from any Non Mahram who can see her.
Man does not need to cover his head during Prayers although many Muslims do that due to cultural reasons. It is recommended for man to wear a turban during Prayers, not just to cover his head.
If there is no non-mahram there, there is no need to cover her hair
If you turn away towards the right or left side - regardless of whether your back is towards Qibla or not - due to forgetting, you should start a new prayer as soon as you remembers, if there is time left even for one unit (rakat). If there isn't time enough to pray a new prayer, or at least one rakat, then you should continue with the same prayer towards Qibla, and the prayer will not be qaẓa. Similar rule applies to the one who has deviated because of the external force.
If there is an excuse, like, forgetting or an external force, like a strong wind blowing, which turns him away from Qibla, the prayer will be valid if one has not deviated towards the right or the left. It is necessary that one returns to the direction of Qibla as soon as the excuse disappears.