If you have a two handed sword equipped, you do not get any bonuses from a shield.
Also, when you pick up a shield while carrying a two handed sword, the game will automatically equip (and disable) it. A few times after dropping off a bunch of loot and returning, I became encumbered rather fast, and then realized I forgot to drop of the shield that I had picked up and the game equipped for me.