Well if you have the door open and you try lifting the handle and the bolts dont move to the correct position to allow the barrel to turn with the key, then it sounds like the gearbox for the locking mechanism has broken. These are not repairable as they tend to be a sealed unit on most strip locks. If you look at the side of the door you might see the strip locks' makers name such as MILA or GU, you need to measure the total length of the lock and the distance between the centre of the door handle and the lock barrel, and make a sketch of bolt positions etc. A locksmiths should be able to order you a replacement. When I worked in a locksmiths they came in at between €60 and €200 just depending on the brand.
However if the bolts work when the door is open and you can turn the key, the door has dropped or the frame has warped out of shape. Door can be adjusted on the hinges with grub screws.