Illusion Manipulate Subtle Source Player Core pg. 339Range touch;
Targets 1 creature
Duration 10 minutes
Illusions bend light around the target, rendering it
invisible. This makes it
undetected to all creatures, though the creatures can attempt to find the target, making it
hidden to them instead. If the target uses a
hostile action, the spell ends after that hostile action is completed.
Paizo Clarification
Invisibility follows the rules of the invisible condition. The second sentence summarizes them but doesn't cover every instance, such as you being hidden to creatures observing you when you become invisible instead of being undetected to them.
Heightened (4th) The spell lasts 1 minute, but it doesn't end if the target uses a hostile action.
Knock [two-actions] Spell 2
Concentrate Manipulate Source Player Core pg. 340Range 30 feet;
Targets 1 door, lock, or container
Duration 1 minute
You make the target easier to open.
Knock grants a +4 status bonus to any creature that tries to open the target door, lock, or container with an
Athletics or a
Thievery check. You can attempt a Thievery check to open the target as part of casting
knock, and you add your level even if you're untrained.
Knock counteracts lock.