Through robust management software, the security manager can set arbitrary access rights for users, any time, any day, and access to certain specific locations. The permission will be stored in the key.
If your employee has the permission, then the lock will be unlocked successfully; if your employee does not have the permission, then he will not be able to enter, and the record will be kept.