what about making a transaction that will appear then will never be confirmed
What you are trying to do is make a double spend. You can do this by making a first transaction with zero fees. This will not be confirmed easily. Then you make another transaction with fees so that it will be confirmed faster than the first tx making the first invalid tx. Bitcoin is protected by this by waiting for a confirmation first.If you accept payments without confirmation, you are vulnerable to double spending.