Firstly, more details of the car and the problem will be required; some posters may know if this has been a known issue in the past, hence age matters. Secondly, do you mean the boot lock is giving you problems or the boot lid will not stay up? If it is the latter, it sounds like the gas struts (look like black tubes with a metal rod extending from the end one each side) have lost their gas if so they will have to be replaced. Examine the ends you will find a small ball joint arrangement with a spring clip or plastic peg holding them on, remove this locking device and the struts will come off (beware the may extend when freed). Reverse procedure to replace. Tools - probably smallish screwdriver (to lever clip off or start peg) and long nosed pliers.