Smart Tubular Latch Locks and Latches