Yes, disposable razors and electric razors are allowed in carry-on luggage as per TSA guidelines, but safety razors need to be in checked baggage without the blades.