Funcional Lock and keyu