How can I unlock the selected channels in the Dope Sheet?
Shift-select the channels on the left as you have been doing and then choose Channel> Toggle Channel Setting> Protect:



Disable Channel Setting and Enable Channel Setting also do this, disabling or enabling all the selected channels.