I watched this movie on TV in the late 80s - early 90s. The details are sketchy but the main points I remember was that a woman and her boyfriend plot to kill her husband. They do, or so they think. I believe they put him in a sealed coffin and left him to die but somehow he managed to get out.
Then, to get his revenge, he builds a maze like structure within their house using sheets of plywood (I think he was a carpenter) and traps the wife and her bf inside. He plays mind games with them and finally kills both of them.