A person commits a misdemeanor if he or she knowingly restrains another unlawfully so as to interfere substantially with his or her liberty.