Microsoft is set to lay off more employees, targeting those deemed underperformers, including in its vital security division.