I can't seem to fully understand your query.
Are you asking about the Minolta, Sony, Canon, or Nikon lenses fitting on Pentax DSLR cameras or are you talking about Sigma, Tamron, Vivitar, Zenitar, Chinon, Ricoh, etc lenses fitting on Pentax cameras?
If it is the latter (Sigma. Tamron..etc) then they would fit so long as they are made for Pentax mount.
Pentax mount meaning from the very first M42 (screw mount) to the K mount (which is the regular bayonet mount) to the KA, KAF, etc of the same standard K mount with different variations having the "A" setting to the "AF" (autofocus setting).
As long as it says made for Pentax "
K" mount or just
K mount, then those lenses would fit the Pentax cameras without any adapters.
The only thing with the simple K mount, you have to manual focus and the aperture setting cannot be controlled "on-camera".
You should have a read on how to use the old lenses:
https://www.pentaxforums.com/forums/pentax-beginners-corner-q/59272-shooting-...x-dslrs-f.html