I like the idea of increasing friction, but I also found https://en.wikipedia.org/wiki/Self-control to be useful.

If we are talking about increase friction to avoid something, unfortunately self control is way past us.