Lock correctly