It's based off the order of the sticky notes in the office. It doesn't change throughout the night (although it should) but it's read from left to right.
ok, so when in window just close door (like every other character)
When she appears on your office staring you down you just need to "look away" from her sev3eral times until she gets dizzy and leaves you. Note that while she can't actually hirt you while she is staring you down you can't go back to cameras or close doors untill you shake her off