Lock screen of Nexus 5 during active call
Go into Settings -> Accessibility -> Uncheck the checbox power button ends call. Now during call, when you press the power button, the screen locks; Pin/Pattern/Password screen appears.

I have tested on my device but not on nexus 5. Have to do in emulator.