Yes, any 58mm screw in type lens hood will work, like the first and third one that you linked.
With 20mm on a K1, the hood will be very short to avoid vignetting. I generally prefer the rubber type...
General Brand 58mm Screw-In Rubber Wide Angle Lens Hood NP11158
...but found they often tear off the ring over time, so you may want to go with a metal one instead.
Sensei PRO 58mm Wide Angle Aluminum Lens Hood LHM-W58 B&H Photo
A petal shaped one is ideal...
Sensei 58mm Screw-on Tulip Lens Hood LHSC-58 B&H Photo Video
...but I found the generic ones that are screwed in are problematic in keeping them in the correct position (as bayonet type lens hoods excel in this regard). This particular one in the link even warns for (above 20mm on FF).
I'd suggest going with the round metal screw in type.