The level and number of items that can be pickpocketed is determined by the level of the skill, but I never used it myself.

I got a couple items with Pickpocket bonuses in Divine Divinity, but never noticed any in Beyond Divinity (though the skill isn't needed for any quests, etc, in BD so I wasn't specifically keeping an eye out for that bonus).