A student has shot a police officer to death at Texas Tech University in Lubbock, USA and the campus was placed on lockdown before the suspect was arrested.