单项选择题

In order not to be disturbed, I spent three hours()in my study.

A. locking
B. locked
C. to lock
D. being locked