If you cast a spell from among the milled cards using another permission, Locke's effect doesn't apply. You can cast another spell from among the milled cards using the permission granted by Locke's last ability.

Artwork
Loading artwork…
Locke, Treasure Hunter
Final Fantasy Commander · #87 · EN
Nonfoil—Foil—
Card rules
Locke can't be blocked by creatures with greater power.
Mug — Whenever Locke attacks, each player mills a card. If a land card was milled this way, create a Treasure token. Until end of turn, you may cast a spell from among those cards.
2/3
Rare · Illustrated by AKAGI
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Oathbreaker Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
As long as one or more lands were milled this way, you'll create a Treasure token. Additional land cards milled beyond the first won't cause you to create additional Treasures.
You must pay the costs to cast that spell. If it has an alternative cost, you may cast it for that cost instead.
Losing control of Locke after the last ability has triggered won't affect your ability to cast a spell from among the milled cards.
Once Locke has been blocked, changing its power or the power of the blocking creature won't cause Locke to become unblocked.
You must follow the normal timing permissions and restrictions of the spell you cast from among those cards.