You need to progress through the story to open it. Talk to the barkeeper for hints.
At some point, the maid in the mansion will offer the key.
The barkeep was a stroke of genius for this game