Broken hood locking device can be a tough one. With the hood closed tight it is hard to trigger the latch mechanism to release if it is failing somehow. First see if you can soak the latch mechanism in some penetrating fluid. Try pulling back and forth on the release while someone else pushes up and down on the hood at the same time. If all else fails you may have to dis***emble your way into the latch mechanism to get it open. Sometimes you can jimmy the inner workings of the latch mechanism to get it open.You may have to somehow unbolt the latch mechanism from the car - or if it has the large pin in the hood that the latch closes over somehow unbolt that from the hood. This can be hard to do because you need the hood to be open to do these things. But most of all and most importantly keep calm and don’t spaz out walk away have a coffee come back when your level.
Look in the opening between the hood and the grill. You should be able to take a short piece of flat aluminum and push on the latch to open it. You should be able to see the end of the cable, if it didn't break off. The cable pulls the latch to open it. That should tell you what you need to know to open it.