If you want to keep people out of your buildings, one thing you can do is to build a floor trap. Imagine their surprise when you pull a lever, and they fall through the earth! It’s not hard, but does require some strategic planning of where your building will be, placement of doors, and the willingness to make sure your trap is working before you cover it up with dirt.
Have questions? Just comment on the video or below!