If your aim is to keep power-hungry samurai from your abode, a door like this is the only way to go.
This particular door is for the gate at Odawara Castle. The gate wall is thicker than I am tall, and made of huge stone blocks.
It’s pretty impressive.