It is possible that your notched, pointy-ended latch post is bent slightly out of the optimum angle. This will not let the push button to completely disengage the locking lever inside the lock housing.
Look under the right side of the seat for the hinge pins. Pull off the spring clips and pull the seat off the hinge pins. It won't move far but will allow you to move the seat a up, down, and around in the vertical enough to change the angle of the latch pin in relation to the locking lever, hopefully allowing the push button to disengage it from the notch.
Happened to me once. Once open I carefully adjusted the latch pin with a vice.
Teo