Answer:
Personification
Explanation:
By saying that the two locks of hair conspired to do something, the author is attributing a characteristic of human nature to the locks of hair which on fact are non living (or human) entities
Metaphor because the ponderous gate is not comparing or contrasting two different things. its also not using the word like or as.
You will get the answer you are looking for in the photo