It should be considered an assault with a deadly weapon. A blow in the head with a bike lock could easily result in death.
bttt