Fetching details from the dictionary...

to drive in (a nail, stake, etc.); to hammer in
to hit (a ball, etc.); to drive; to smash
to fire into; to shoot into
to input (data); to enter
to devote oneself to; to be absorbed in; to be (really) into; to be enthusiastic about; to put heart and soul into; to throw oneself into; to go head over heels for
to practice hitting (baseball, tennis, etc.)
to hit (an opponent in kendo, boxing, etc.); to get a blow in
to invade one's opponent's territory; to place a stone in an opponent's formation
to pour (concrete, etc.) into a form
建設作業員が鉄製の杭を油圧ハンマーで地面に打ち込んだ。
I drove a stake into the ground.
パスワードを打ち込んでログインした。
I entered the password and logged in.
彼は定年後も写真撮影という趣味に打ち込んでいる。
He is devoted to his hobby.