Are there ways to give visitors temporary access or temporary codes?

Yes, most systems today allow the administrator to issue a temporary badge or PIN number. The PIN or badge can be set up to expire within days, weeks or by the number of uses.