License and lock