[LockerManagement] Make the resetCode Async + Some Cleaning + Some Comments