At my last job I wasn't micro- but nano-managed - the "project manager" sometimes sat next to me and looked at me while I was debugging code. The IT sector definitely has its share of morons.
In a large company I once worked for I suggested a ticket prioritisation scheme based on assigning a numerical value to each staff member (e.g. CIO = 1000, lower values for lesser deities) and calculating a value for each ticket based on the sum of the values for each person standing behind the person actually fixing the problem.
This was based on observing 4 people (CIO and managers from intermediate levels) standing behind some poor helpdesk guy while he fixed a problem with the CEO's desktop background being the wrong picture or something....
I wasn't entirely serious and short of surgically grafting location detectors to all managers (maybe not a bad idea in itself) not sure how their location could be tracked with enough precision to make it worthwhile. ;-)
Great advice. Another variation on that is just getting them to look something up for you that is at least tangentially related to your work. Anything where they are now helping you changes the power dynamic and will make them super uncomfortable.
A good project manager will be confident in their position and in doing whatever they can to help the project and won't mind. But that type of person wouldn't be looking over your shoulder unless invited.