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.
Wassalam.