I saw this movie in beginning of 00s, most of the movie occurs in a house with basement, involving a married? couple. For some reason, husband locks wife into basement, saying to everyone that she is dead. As movie progressed, wife manages to get herself free and locks husband in basement in return.
I believe the movie was made from 80s – 00s?
Maybe Hitched?
https://www.imdb.com/title/tt0272127/?ref_=ttpl_pl_tt
But Husband is locked first.