The library locked its doors while police pursued a shooter in a neighboring building on campus.