WARNING: This page is about a different car, the 2006 Subaru Outback and 2006 Subaru Legacy. However, it is still accessible from the selected car via links, so may be relevant.
Open the front hood.
Remove the bolts, and then detach the front hood lock assembly.