Thailand has closed crossing points in in all seven border provinces to everyone except students and those seeking medical treatment.