Does the word "block" have the same definition in the next two sentences?

Block an attack.

Block the book cover.
different meanings