Etymology
Today it means: In such a way as to lock. Full definition →
From locking + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.