you just have to drag pic. B onto the pic. A document. It should open up as a new layer automaticaly. Then in your layers palette, just drag the layer with pic B under the main one.
Just make sure the main one isnt locked anymore by double clicking on it.
but what do you meen by " locked " ?
and i have dragged it once but then the picture came out VERY small