Software lock