Does word "look" have the same meaning in the following two sentences?

He went out to have a look.

He gave it a good looking at.
the same meaning