If I am "in" a building, you can be sure I am inside.
If I am "at" a building, I may be inside, or I may be just outside.
I can say: I'll meet you at the resaturant - look for me on that bench outside the door. But I can't say that with "in."
Do you have other specific uses that you've seen and have questions about?