I was watching an episode of Doctor Who today with Tom Baker. The doctor
had his mind connected into a computer “matrix” (yes, they used that term)
in which a variety of landscapes were simulated and in which he could interact.
Unfortunately, his arch-nemesis was out to get him and had control over a
variety of characters who all looked the same. This was in 1976.