Had the same problem yesterday, luckily my son in law is a double glazing fitter.
He came round and looked at the problem, we eventually opened the door by removing the hinges. This meant the door would move enough to get a screwdriver in to push the hooks out of engagement.
refitted the hinges, fitted a pair of " sash jammers " to enable the door to be secured short term.
Now ordered a replacement lock.
Keith
November 2008