"If the Secondary Weapon requires that the attacking ship have the defending ship target locked, it may still fire that weapon, but the defending ship rolls an additional +3 defense dice. The attacking ship must discard theSecondary Weapon Upgrade when the attack is completed."
How does this interact with USS Enterprise-E?
"you may fire a torpedo at an enemy ship without needing a target lock. If you do so, place an auxiliary power token beside your ship"
Does the defender get +3 defense dice and I discard the weapon after the attack or does the ships ability bypass the torpedoes need for a target lock