how do you get the key from the banderling when the door he is behind is locked where the the key or lever for that door?

Hmm, did you get key no.1?
To get to the Banderling Bloodblade you need the first key, which is the Plain-Looking Key found on a Drudge Hoarder.