that's simple, you just have to close the door before she is next to it because that is how all the fnaf bears work
(DO NOT WAIT HER TO APPEAR NEXT TO THE DOOR)