There’s this guy trapped in an old looking house with high tech computers, and there’s this woman’s consciousness trapped inside this robot. It’s either his dead wife/girl friend and he has to convinced her of something whilst in this simulation that she’s okay, and that makes the robot work. He enters via neural transmitters, but repeatedly fails to convince her of something and the robot doesn’t work. I remember there’s a garden he sits in, and that the robot isn’t human in shape. It’s more beast like, and her consciousness is being kept alive inside.
This sounds like Tears of Steel (2012), a short 12-minute film. It's available on YouTube.
The video thumbnail shows the distinctive "beast-like" robot her consciousness is trapped in.
Rather than convincing her "she's okay", he's trying to make peace with her after a breakup, to
Save the world from a robot apocalypse that she's apparently causing.
Could this be Archive (2020)?
2038: George Almore is working on a true human-equivalent AI. His latest prototype is almost ready. This sensitive phase is also the riskiest. Especially as he has a goal that must be hidden at all costs.
George spends time with his (dead) wife in a simulation. He's building a robot body for her to occupy.