other brands make lenses that mount to pentax bodies, mostly sigma and tamron. tokina lenses may not be available in k mount because tokina lenses are often rebadged pentaxes.
iirc, some k mount lenses may not work; i think some of the ricoh and chinon k mount cameras weren't quite the same as pentax k mount.