Hi guys,
This is a member of Viber's development team.
Unfortunately, when you receive Viber-call when your phone is locked (with password) you first have to unlock the phone and then you'll be able to answer.
We can't change that due to Apple restrictions. :/
Thanks,
Viber Team