You can use any lens with Pentax bayonnet K-mount. This includes the lenses manufactured by Pentax, Sigma, Tamron, Voigtlander, Zeiss and many more.
You can use also use older lenses with Pentax screwmount but would need an adapter (
https://www.pentaxforums.com/forums/pentax-beginners-corner-q/110658-using-ma...x-dslrs-f.html).
The PF has an extensive database of Pentax and thrid party lenses that you can use:
Pentax Reviews - Pentax Lens Reviews & Comprehensive Database
All in all, a great strength of Pentax dSLRs is the lens backward compatibity and the variery of available lens. Use lenses are readlily available in the PF marketplace (
The Pentax Marketplace | Sell Pentax | Photographic Equipment for Sale - PentaxForums.com) as well as in reputed used equipment stores like Adorama (Used equipment) and Keh.
Hope that the comment will help.