Yes, many shopping carts are equipped with locking mechanisms to prevent theft. These locks can be activated when the cart is outside the store premises or in designated areas where security is necessary. Retailers can provide customers with keys or use a coin-based system to ensure the carts stay within the intended premises.