Ring-Type Porcelain Lamp Sockets are a keyless design often used on ceiling fixtures. 2 part ring device screws together. Medium base takes a standard Edison base light bulb.
Before making any changes to electrical fixtures and/or lamps:
Disconnect plug/wire from the electrical source.
Turning lamp off will not protect you from electric shock.
If you are unsure how to safely proceed contact a licensed electrician.