to be honest I found this a bit strange - I seem to recall a possible intermittent problem with selecting layers, but not this - just checked and I can lock a selected layer in XDPX and XPGD9[trial]

EDIT: as long as it is set the way Egg mentioned