What is this icon?

Sorry I cant seem to figure out what this icon and its opposite does and then sometimes its the locked symbol.


This icon and the other one that looks like will switch between lines. If you have 5 AB lines, you can cycle up them with one button and cycle down them with the other button.