ref
From the verb phrase lock down.
lockdown (n.)
also lock-down, from late 19c. in various mechanical senses, from the verbal phrase; see lock (v.) + down (adv.). Prison sense is by 1975, American English.