Setting traps that can be proven have put the victim behind bars before.

The classic shotgun tied to a door is what comes to mind.
Joe burglar kicks in door and triggers buckshot into his chest.