Lock-descrambling unit