Yes, the Sonic & Knuckles lock-on feature works with other Sonic cartridges, creating some classic combinations. When you lock Sonic 1 onto Sonic & Knuckles, you unlock Blue Sphere, the special stage. Lock on Sonic 2 and you can play as Knuckles in Sonic 2, reaching areas Sonic couldn't. Lock on Sonic 3 and you get Sonic 3 & Knuckles, letting you play as Knuckles with access to cheat codes.
This clever lock-on system was one of the most beloved features of the era, giving players new ways to experience these classic games.