when reserving seats at a venue, you normally have a number of minutes to complete the transaction before your reservation is removed
in this case the website is temporarily removing the seat from availability.
if it's a hotel room or something like that, you need to have a place where the fact that someone is in the process of ordering is maintained, and released again if they go away.
How do I avoid a overbooking when 2 customer pays at the same time?
@Eco012390 The probably of two people submitting a payment and then those payments being handled at the exact same time is very, very low.
If you’re worried about this then as @snapey says, put some form of “reservation” in where a user has a certain number of minutes to complete their purchase. If they don’t complete their purchase, their reservation is released and made available to customers again.