Once Expedition Lookout has legally attacked, causing its last ability to not apply by removing cards from graveyards won’t cause it to stop attacking. However, if you do so before blockers are declared (and it’s attacking in your direction), you will be able to block it.

Artwork
Loading artwork…
Expedition Lookout
March of the Machine · #56 · EN
Nonfoil—Foil—
Card rules
Defender
As long as an opponent has eight or more cards in their graveyard, this creature can attack as though it didn't have defender and it can't be blocked.
2/3
Skills honed on perilous treasure hunts helped Zendikar's adventurers stay a crucial step ahead of their Phyrexian foes.
Common · Illustrated by Johan Grenier
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School 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
Expedition Lookout’s last ability will apply if any opponent has eight or more cards in their graveyard, not necessarily all of them or even the one Expedition Lookout is attacking.