The bug
Some naturally generated doors in savanna villages with a wrong open/close status can cause villagers to get stuck in the house.
Vanilla.
Steps to reproduce
Seed: 3224119649686966180 (Java Edition 1.21.6)
Location: 188, 67, -199 (Overworld)
Observed behavior
The door's open and close status will be incorrect, causing the villager to try to open it but instead get stuck in the house by the "opened" door.
Expected behavior
The door would be normal; the open and close status would be correct.
Environment
Windows 10
Java 21.0.3
The Environment field is supposed to only contain PC details.