This tiny padlock comes from an estate time capsule.  I don't know anything about it but most of the items in the time capsule date from the mid 1800s to the mid 1900s.

The key does work to open the lock. Not sure how good the quality is, but it also makes a good decoration for craft projects.