Gov. JB Pritzker signed a bill into law Wednesday to ban police from giving tickets and citations to students who violate school rules.