If it be alleged in the petition that the will is in the possession of a third person and the court is satisfied that the allegation is correct, an order must be issued and served upon the person having possession of the will, requiring him to produce it in the court at the time named in the order. If he has possession of the will and neglects or refuses to produce it in obedience to the order, he may by warrant of the court be committed to the jail of the county, and kept in close confinement until he produces it.
Okla. Stat. tit. 58, § 24