So I have Hey Cortana turned on, but not voice trained so that it responds to anyone. I made sure my phone timed out to the pin lock, then tried a query. It showed the search page results, but any touch to the screen jumps back to the lock screen requiring a pin/iris. So for me at least it still seems secure. However, by virtue of me choosing to have that always on, it does allow anyone to say "call X" and various other actions. It still doesn't unlock the phone, though it will place the call. If you train your voice you should be fine.