I left out a few sentences. I hope you can have a look at them too

1) The play finishes with the killing of the King, Hamlet,Queen Gerturde and Laertes.
2) According to the medieval perspective the body is the prison of our mind.
3) However, the human mind doesn't know what there will be after death.
4) A violent crime is committed against (not "to"?) a family member of the hero.
For Hamlet cowardice is what makes us continue living. If we were corageous, we would kill ourselves.
5) A revenge tragedy includes a sexual crime against a family member of he hero or a violent crime like the murder of Hamlet's father.

1) The play ends with the deaths of Laertes, Queen Gertrude, King Claudius, and, finally, Hamlet himself.

I'd list them in the order of their deaths.

2) OK

3) OK

4) A violent crime is committed against a family member of the hero.
For Hamlet, cowardice is what makes us continue living. If we were courageous, we would kill ourselves.

5) A revenge tragedy includes a violent or sexual crime against a family member of the hero, such as the murder of Hamlet's father.

1) The play "Hamlet" concludes with the deaths of several key characters: the titular character, Hamlet; his mother, Queen Gertrude; and his adversary, Laertes.

To ensure accuracy, it is important to clarify that Laertes does not kill the King in the play. Rather, it is Hamlet himself who carries out this act of regicide.

2) In the medieval perspective, the body was often viewed as a confinement for the mind or soul. This concept suggests that the physical body restricts or hinders the full expression or liberation of one's thoughts and emotions.

3) While the human mind has pondered questions about life after death for centuries, it remains unknown and uncertain. Various religions, philosophies, and belief systems have offered different interpretations and theories about the nature of what lies beyond death, but concrete knowledge or proof is lacking.

4) When discussing a violent crime committed against a family member of the hero, the preposition "against" is more appropriate than "to." The use of "against" indicates that the crime was perpetrated targeting or directed at the family member. It suggests an intentional act of harm or aggression.

Regarding Hamlet's perspective on cowardice and courage, he contemplates the idea that fear and lack of bravery prevent people from ending their own lives. Hamlet muses that if individuals possessed the courage, they would choose to take their own lives, suggesting that continuing to live is a result of cowardice.

5) In the realm of revenge tragedy, certain common elements can be found. These often include a sexual crime committed against a family member of the hero or a violent crime, such as the murder of the hero's father. These acts serve as catalysts for the protagonist's quest for revenge and propel the narrative forward. It is important to note, however, that not all revenge tragedies exhibit these specific crimes, and the genre encompasses a wide range of variations and interpretations.