In a building with many suites, confirming the right person is at the right door matters. The person requesting entry should be able to show identification with the suite address, a lease or other documentation connecting them to the unit. Building staff may also confirm occupancy under their own procedures.
A tenant does not need the landlord's consent to regain entry to a home they lawfully occupy, but changing the lock is a different matter. Leases and residential tenancy rules can require the landlord to be informed or given a key. In a condominium, a suite owner may still need to follow the corporation's hardware rules. In a condo or rental, the building's own rules shape what can be repaired or replaced, which is part of every condo and rental lock repair.
If there is a dispute over who may occupy the unit, entry is not the way to resolve it. The technician may decline the work until the matter is settled through the appropriate channel.