Caught in the act, and somewhat flurried he hastily shuts and locks his desk. 
He took his time in shutting and locking his desk.
mnli hypothesis: He took his time in shutting and locking his desk. premise: Caught in the act, and somewhat flurried he hastily shuts and locks his desk. 