On most PIRs, you have 3 terminals.
Permanent Live, Neutral and Switched Live.
To bypass the PIR, you just take a feed from the Permanent Live terminal on the PIR, down to a light switch, and then from the light switch back up to the Switched Live terminal on the PIR.
The PIR will still detect people and switch on and off, but if the light switch is switched to on, the PIR switching will have no effect.
However, if the PIR has switched to on, and you turn the light switch off, the lights will stay on, until the PIR timer runs out.