Just don't place windows. Instead go for a halfwall and on top a fence / railing. You can shoot stuff through it, cannot climb through and you have no access of stuff on the other side.
Edit: Oh... and don't pin lock your doors, players can open them, just like you said. Doors are automatically locked.