Aside from the proper size screwdriver(s) always required for a gunsmithing project you'll need a vice. Remove the lock from the gun. Loosen the screw holding the hammer to the lock about one turm. Hold the hammer, with the lock above the worksurface and rap the screw with a wood or plactic faced mallet. If the fit to the square stud on the tumbler is not too snug that will be enough to loosen it. If the fit is very tight the best way is to disassemble the components, finally tapping the tumbler out of the hammer, rather than trying to rock or pry the hammer up off the lockplate. L&R Lock Co. has pretty good instructions on this operation on their website.
If the hammer is for a percussion lock, use the end of a box wrench slipped over the nose to bend the hammer after heating the neck cherry red with a propane torch with the hammer held solidly in a vice with leather padded jaws. A flint cock can be bent using a long bolt that fits in the jaw screw hole and is long enough to give leverage (or use a box end wrench slipped over the bolt - AND NOT A BOLT FROM THE GUN. Use one that won't matter if it gets scratched up). The trick, unfortunately, is to get the heat right so that the hammer bends without losing the proper temper. If it doesn't bend pretty easily, don't try to force it. Don't overheat it and don't quench it (let it cool on its own).
I am surprised the GPH would need the hammer bent.