This glitch is pretty old. You can also get into Lester's office by leaning against the office door and doing the job/back out thing with the phone. Once in Lester's
office you have to kill yourself to get out. To leave the main part of the factory just go to the front doors and do the phone thing.