>>96920740
its easily googleable, google mortuary archaeology, sex determination, archaeological forensics etc
you can find plenty of studies on it. A particularly famous case is the Suontaka burial in Finland. It has been argued that its a transwoman viking (man), a woman, a man buried with a woman and the womans bones are missing, a man buried with his wife's belongings. It's still up for debate because it just isn't that easy.
https://www.cambridge.org/core/journals/european-journal-of-archaeology/article/woman-with-a-sword-weapon-grave-at-suontaka-vesitorninmaki-finland/33A89DB1D7E4900F017833D87C997D3D
Another example is the https://en.wikipedia.org/wiki/Chinchorro_mummies Chinchorro Mummies in Peru. Despite the overall very good conditions of the partial skeletons of the remains, about 1/3 of the remains discovered remain unsexed. Part of the difficulty is the inability to recover DNA that is viable for examination (partial DNA isn't useful for sexing), which is one of our main tools. The skeleton is very difficult to sex in many situations and across many ethnicities (some ethnicities have more or less sex dimorphism)