As I said in my previous post, you are reaching objects on Layer 2 while the active is Layer 1 (you have "Edit Across Layers" enabled), so when you group these objects, CorelDRAW send them to the active layer; Layer 1, which is locked, so you get that message. Click on the name of Layer 2 ...