Added module loading and changed some beeps...
Lock function triggered by digital input