does it make any noise when you press the unlock button, or nothing until it finally opens? is anything stopping the inside lock/unlock knob from rotating fully as this make the mechanism click, but it doesn't move far enough to unlock. Could just be a failing locking mechanism, the solenoids in them get weak after a while.
Andy