Am I obstructing justice by not answering?

No.

 

By refusing to answer the police officer’s questions you have not obstructed justice. You cannot be arrested for refusing to answer a question.

 

You can, however, be prosecuted for making a false statement; don't put yourself in that position.