Users can specify what inputs they are sending in a transaction with lower-level software like the Bitcoin RPC, but a typical wallet does not expose that functionality.
Bitcoin Core: Settings > Options... > Wallet > Enable coin control features (adds it on the Send tab)