In order to repair a trunk that won't open, you will need the following: a screw driver.
You will need to climb into your trunk, through the back seat. Remove the back seat. Pull the emergency release. Remove the trunk lock. Unscrew it. Look for anomalies. Bent screws could be the cause. You will need to repair any broken parts or replace them, if you decide not to replace the entire lock. Reinstall the lock in the trunk.
You will want to test the mechanism thoroughly, before you close the trunk again. Don't close the trunk, until you are certain that it will work. Otherwise, you'll have to get in the trunk again, by removing the back seat.
Want to master Microsoft Excel and take your work-from-home job prospects to the next level? Jump-start your career with our Premium A-to-Z Microsoft Excel Training Bundle from the new Gadget Hacks Shop and get lifetime access to more than 40 hours of Basic to Advanced instruction on functions, formula, tools, and more.