Lock and visibility functionalities