how to lock and unlock stuff