The movie was from the late 70’s early 80’s.
All I can remember is a family moved into a home. I think there was a Mother, father and two children.
They somehow got trapped inside the house and couldn’t get out. All the windows and doors had nothing outside them, just blank space. But if someone came to the front door, all would be fine outside, until they shut the door again.