The locket Harry and Dumbledore retrieve from the cave in Half-Blood Prince has no inscription. It's a heavy silver locket with a single red stone (a garnet or similar).
As a Horcrux, it carries a fragment of Voldemort's soul. Its enchantment:
Only after Ron stabs it with the Sword of Gryffindor (imbued with basilisk venom) is the Horcrux destroyed. The locket screams, bleeds, and the fragment perishes.
No words inside. Just a soul-shard screaming as it dies.