Freddy will attack only midway through 5 am I think. Whenever opening cameras at this time, close the right door before you do, or you will die to them. This is the only time Freddy will attack all night, unless you are super unlucky.