Kan. Stat. Ann. § 17-5512a
All loans evidenced by notes secured by first real estate mortgages against improvements other than home loans may include in the note and mortgage, a contractual agreement prohibiting or otherwise restricting prepayment for a specified period after the date of the note and mortgage.
L. 1977, ch. 79, § 2; July 1.