Scotland Yard deputy commissioner tells inquest he locked himself in a car as he watched Westminster terrorist stab colleague