Vienna has/had a system where the bikes (painted bright pink to deter theft) are locked up similar to shopping trolleys at certain stands dotted around the CBD. You rent one by putting a 1-2 euro coin in to release it or unlock it. You get refunded when you return the bike to one of the stands...