D&D 5E - Identify Mundane Items?

Just wondering if anyone knows of ways players can dicern the purpose, use, or other very specific aspects of a mundane item? For example, my players just nicked a set of keys from an NPC. They arent important to the plot, just the keys to this guy's house, a couple chests, and couple doors related to work. Is the only way for them to learn where these keys work is either re-find and stalk the original owner and start trying out locks? Or is there magic that can act like identify for how and/or where mundane items are meant to be used?

ncG1vNJzZmivp6x7prrWqKmlnF6kv6h706GpnpmUqHyqsMSnq6KeqWK6trrDmqWeZZmpsq6%2FjW9ucG5oZ3w%3D