It's been over a year now, and I guess the question is answerable even without context. I'm very surprised that the idiomatic phrase "look the part" doesn't seem to be in our dictionary.
If you "look the part", your appearance matches the role you are playing - but it may be what you really are. "Part" here is similar to the part or "role" we may play in the theatre. My old naval friend looks weather-beaten, has a neat beard, and smokes a pipe. He really looks the part. (There is no suggestion that he isn't really a sailor. He looks how we traditionally expect a sailor to look.)