This old question Story where the hero ends up having his eyelids removed and being hooked up to some kind of virtual reality machine has a good answer but it was only accepted via a comment under the question.
This new question 1950s short story about a man awakening from suspended animation in the near future roughly the same and gets lobotomized, then gets a VR future also has a good answer and actually got accepted.
(Just for completeness, there is a third even older one Short story about addictive games and virtual realities which has no sort of acceptance at all - it may not be the correct answer in this case). Just to be clear, this one can't be closed.
Does the community have a preference of which one of the accepted answers to close as a duplicate? I was about to close the older one (good, but not formally accepted) but realized it might be good to ask in meta.