Consciously cock-blocking yourself in an attempt to avoid infidelity.
Erik was building a sandcastle on the beach with a woman he had just met. When things started to get flirtatious, Erik thought of his girlfriend and quickly began to build a moat.