Check the term "Hawthorne effect". Not that I wouldn't mind an extra day off...
Is it like Taylor's Time and Motion?
I doubt Microsoft works like that, software is more subtle..
You must be thinking of the Ballmer Peak: https://xkcd.com/323/
The experiments at GE’s Hawthorne Works, carried out in the spirit of Taylor, inadvertently led to a whole new branch of Organizational Behavior, if not to the field itself. In essence, they found that the effect on productivity of discussing the experiments on working conditions with the workers swamped the effect of changing the working conditions per se. Or something like that. It’s been a few decades since I last cracked an OB book.