I think we all know that we need to have risk management and that we don't need to chase our losses but sometimes something just snaps in your head and you will bet crazy. The only thing that helps for me, is keeping a really low bankroll and using the vault system (but not all sites have that).
use the vault to store your other funds and leave it in your bankroll as a gambling budget. if that works it means you can control yourself well to slowly become a responsible gambler.
but in reality it is very difficult when, as you said, keep other funds in the vault and leave a budget in the bankroll, but when you lose and you don't feel like you have been beaten by the casino, usually you will withdraw your funds from the vault and spend all the funds just to chase defeat.
Keeping our funds in a vault is a good idea so we will not use them for gambling.
It also helps us reduce the deposit many times, especially when we have experienced several losses.
Apart from that, safes are also useful for helping us limit the use of money for gambling which I think can also help gamblers to hold back the urge to gamble longer when all the capital they use is used up.
But be careful because by keeping funds in a safe, you will still think that you still have other money that you can use at any time, so this requires self-control to prevent this.