lock ordering deadlock example