I never throw away a key. When there's a lock that needs opening I carry along my box of keys and work through them and sometimes one comes up that does the job.
And they can also come in useful when you need a bit of metal with a hole in it to serve as a washer, for example.