Mrs. Frank says young people need to have their secrets. Why would she allow Anne the freedom to be with Peter alone in the room?

Mrs. Frank likely allows Anne the freedom to be with Peter alone in the room because she trusts Anne to make responsible decisions and respects her need for privacy.