The spell being cast doesn’t reduce its own cost, even if you’re casting it from a graveyard. At the time the cost is reduced, the spell is on the stack.

Artwork
Loading artwork…
Locket of Yesterdays
Time Spiral · #258 · EN
Nonfoil—Foil—
Card rules
Spells you cast cost 1 less to cast for each card with the same name as that spell in your graveyard.
Every hour, at the turning of the glass, its owner had whispered to the locket, seeding it with secrets. This would be her legacy, her memory, if the rifts should take her.
Uncommon · Illustrated by Dany Orizio
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
PreDH Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Colored costs can’t be reduced by this effect. For example, a spell that costs 2
can’t be reduced by more than 2.
Locket of Yesterdays reduces only the amount of mana you need to pay to cast a spell. The spell’s mana cost and mana value are not affected.