Security guards in apartments and condominiums handle access control and visitor management by verifying identities, monitoring entry points, enforcing property policies, registering visitors, and ensuring resident safety and security.