When you mount a lens onto a camera, you have to line up the red dot on the lens with the red dot on the camera body!
You have to press the lens release button on the camera body to take the lens off.
Each camera body, even from the same manufacturer, has the lens release button in a different place.