New laws will crack down on "stupid" protesters who lock themselves inside dangerous traps to shut down Queensland's coal industry.

Police say protesters are using booby-trapped cylinders and drums that contain glass fragments, and even butane gas containers, so anyone trying to cut a protester free will be injured.

It comes just one day after Queensland Resources Council chief executive Ian Macfarlane warned someone would be killed as environmental activists ramped up their protests.

Premier Annastacia Palaszczuk said everyone had the right to protest peacefully but the activities of some were not peaceful.