1) Has anyone figured out how lockpicking works yet?

2) Is there a way to dismiss a companion? I have Jahan in my party and every time I try to break a door or lock he goes into combat with me. If I kill him, combat ends, and he resurrects again, only to go into combat with him again immediately smirk