Don't use the Metz 44AF-1 flash, because of the size of your subjects. Railway museum items are too big for that single flash.
See the
inverse square law:
”In photography and stage lighting, the inverse-square law is used to determine the "fall off" or the difference in illumination on a subject as it moves closer to or further from the light source. For quick approximations, it is enough to remember that doubling the distance reduces illumination to one quarter”. If the subject is a locomotive and you take a picture from the front, looking towards the back, then the Metz flash is not the right tool. What is in the background will be too dark.
More than that, museum light has a different color and mixing different kinds of light sources doesn't look good. See
color temperature, measured in Kelvin, such as ”warm” 3200K, that is very different than 5500K, such as the Metz flash.
Use a tripod, if that is allowed. Use a wired shutter release or the 2s-timer. Don't use more than ISO 200 with the Pentax Kx. ISO 100 is best. That means long exposures anyway. The longer the exposure, the better the image quality. F8 or F11 will give more depth of field than F5.6