For example, Bruce Lee's path-breaking Marching Orders recounts numerous discoveries he made in the records of of the intelligence analysis of high-level Japanese and German codes during WW II. Yet he was denied access to some records and was told that they would never be made available to researchers.
Intelligence files were not declassified by General Eisenhower in 1947, along with files on the Manhattan Project, the Pozit fuse, radar, and other technical advances. He ordered all the non-sensitive non-technical files. You are correct about those records that have not yet been declassified, but those records are post WW2.
Files relating to codes have an indefinite lifespan. Just like intel files on people here in the US who reported their neighbors as suspected Axis spies and saboteurs.