i personally just close the left door all night, but i have noticed it is possible to close her door before she attacks through the camera system. Periodically flipping to her camera also seems to slow her down.
In my experience, as long as you keep your sanity high, and make sure that you only use the plushie a max of 5 times per each "burst" (likely much less on the higher nights) and the sharky will never attack you.