Hi,    This is now normal behaviour for Apple Mac Operating Systems - you have just encountered the “Gatekeeper” which is built into the OS to protect you from malware.   Rather than go through typing out the process of getting past this situation, I will give you a link to Apple’s own page on how to deal with this stuff.    https://support.apple.com/en-gb/HT202491   Hope this helps/makes sense.