Yes, spiky sticks are another method. I save bramble sticks and other spikies for that purpose. Also black cotton trip wires.
There's a type of Euphorbia that has the most lethal thorns. Being euphorbia their sap burns. Guess what happens if you get stuck by one of those thorns!
BTW I got the tip for that from a serving police officer as part of his monthly home security column in the neighbourhood watch newsletter in the village I once lived in. His advice was to put it under windows, around drainpipes and other vulnerable areas. Apply that to areas vulnerable to cats.
With human thieves apparently the wounds from the thorns, which goes through clothes, will last for several weeks giving the police justification to search the thief's residency apparently.