Hypothetical for those black powder experts on the board.

Is is plausible to blast open a old fashioned lock, (Victorian Age or older. Picture the lock on a cell door in a western movie) by pouring gunpowder into the keyhole and setting it off with a long match?

If so, how much powder, and how big a boom, for purposes of safe distance do you think?