A man was arrested after police said he followed a University of North Florida student with autism into a campus bathroom, entered a locked stall and prevented the student from leaving.