Multi-threshold second-order phase transition in laser