Yes, sort of. Dogmeat can "unlock" anything to fetch you what you asked him to find. The other followers will loot weapons from dead bodies and locked places but not when you ask them to. You can always trade it from them after.
In Evergreen Mills, Smiling Jack may steal items then try to sell it back to you.