The Logic of Lock-In