Just make sure you’re not around when they notice what happened.

Talk to the person you want to steal from with 1 character, pickpocket with another.
After you’ve done the deed casually wlk away. You need maybe 2 screens of distance.

Your victim will only notice it was robbed after you break off the conversation. But not before enough time goes by to also run away with the final character. It’s really quite simple.