Agreed, have lost multiple games due to this "feature". Should be able turn it off.
You can...
How can I? Don't see anything like that in the settings
Go to "All settings" at the bottom left of your screen, then "board and pieces", then "move method". Then set to "Drag ONLY".


That's correct, there's nothing like that in settings. If you happen to use Lichess however, in preferences (which is settings) under "Game behaviour" scroll to "Castling method" and click "Move king two squares" instead of "Move king onto rook". This will prevent castling in case you happen to either drag your king to the rook or click the king and then the rook.