Did that once on the Volvo and for reasons I won't go into the keys would not operate the locks
If you can't access the bonnet catch then the other way to get in is as follows:
You need an assistant really
Jack up the front of the car.
Remove undertray, then see if it's possible to access the terminal on the starter motor if so you may need to make a stout insulated extension such as a straightened wire coat hanger wrapped in insulating tape.
Connect the earth jump lead to a suitable point.
Connect the positive jump lead to the wire extension and touch the main positive starter terminal.
As you touch the terminal, get your assistant to unlock the boot with the catch or remote if it allows remote unlocking.
As soon as the boot is released remove the contact with the starter
Hope that helps
Russ