Haunted house (trope)
The "haunted house trope" is when the characters are living or staying over at building (or multiple buildings) with unexplained phenomena that may or may not be supernatural in nature. The main characters will usually be forced to stay there or somehow otherwise become trapped. This trope is a staple of the horror genre.
For a list of books on BTW with this trope, click here.