You found your key after calling building management or a locksmith. Contact the same number immediately with your room number and the time you called. Ask whether anyone has been dispatched and whether any cancellation charge applies.
Call the person who opened the request
If management arranged the visit, ask it to cancel the request. If you called a locksmith directly, contact that business. If a technician is already on site, explain the situation before any work starts and ask for the revised cost in writing.

A Japanese example you can adapt
先ほど鍵を紛失したと連絡した[氏名]です。鍵が見つかりました。出張の手配は取り消せますか。費用が発生する場合は教えてください。
English. This is [name]. I called earlier to report a lost key. I’ve found it. Can the callout be canceled? Please let me know if there is a charge.
Confirm which work was canceled
If someone was also arranging a lock replacement or a spare key, mention that separately. Ask for a written acknowledgment if a charge or appointment remains open.

