Adding locking mechanism. Do not use the scan module as I have busted it.