Black, orange, and purple lights (block/plex lights) cannot be turned on or off by a docking beam, but white, red, yellow, blue, and green ones can. All can be turned on or off in astronaut mode using the R key.
I could not activate any rod lights with a docking beam, so assume that is intentional.