The Pentax will but you will need an adapter. Fortunately they have been making screw mount to K-mount adapters for probably 35 years. I assume they are still making them.
I really don’t think adapters are all that good an idea unless you have a lens which is unusually sharp. They all or nearly all require manual everything.
I do have a couple of interesting high quality adapters which adapt an old Minolta MD or MC lens to Maxxum mount. They are also teleconverters. One is a 1.4X and the other is a 2X. These are high quality with 7 elements. They will also retain some auto functions. The bad news is nearly every Maxxum or Sony Camera has a different way to set the camera for using these lenses. Minolta was supposedly working on one of those adapters which would even turn those old Minolta MD or MC lenses to AF with the 2X adapter.
Thanks.
I asked because I do have some Mamiya Sekor lenses that are extremely sharp.
I hate to see them languish.