It's probably the lock mechanism or the switch in the handle, does it make a faint click when pressed? Does the window drop 1 inch? If no click and no window drop, then the door switch is likely.
If the window drips 1 inch but the door fails to open, then the locking mechanism is the likely fault.
If the lock has failed then it will need to be replaced but with the door stuck shut,getting the trim off isn't easy. If you aren't mechanically minded, then it's better to get the work done but it's not a difficult job to do DIY.