Yes, Honorlock will detect the activities on your screen, and it will detect any screen mirroring or tab switch. The teacher can enable this option so that no one in the test environment can view a screen and exploit it for their own benefit.