Locket of Remembrance

Wondrous item, common

When a locket of remembrance is created, it is engraved with the name and likeness of a creature that has died. It is then dedicated to this creature. As long as the locket is worn by a living creature, the remembered creature's remains can't become Undead, and its soul can't linger as an Undead creature.

Source: Valda's Spire of Secrets