roman a clef

Roman a clef is a French term literally meaning "novel with a key." In film terms, roman a clef refers to a film in which actual persons/events are disguised or masked as fictional characters, but with a "key," the true persons/events are revealed.