If it's just a Yale/latch style lock and the deadbolt isn't engaged, use an old credit card between the door and frame to push the latch out of the way.
If it's your flat and you have the cover, call your insurer and get them to send a locksmith.
Failing that, do a web search and make a few call.