the Sherlock star on playing flawed characters, how she got her role and why being nice to your co-workers is so important