Mother accused of imprisoning her children pleads guilty