Simply hold the lens firmly and make a small anti-clockwise twist from the lower white dot to upper white dot on the side. This releases the lens.
To attach a lens, just repeat the process in reverse. Place the lens white dot aligned with the upper white dot on the camera and then twist clockwise until you reach the lower white dot. This attaches the lens to the camera body.