Promotes chromosome condensation and nuclear envelope dynamics during mitosis. Activity appears at metaphase-anaphase transition. ATP + L-seryl-[protein] = ADP + H(+) + O-phospho-L-seryl-[protein] ATP + L-threonyl-[protein] = ADP + H(+) + O-phospho-L-threonyl-[protein] Belongs to the protein kinase superfamily. Ser/Thr protein kinase family. NIMA subfamily.