The phrase "to lock horns" means to engage in a conflict or dispute, often with two opposing parties trying to assert their position and not willing to back down. The term comes from the image of two animals, such as bulls or rams, fighting by butting heads together (locking their horns) in an attempt to dominate each other.