I think your use case is already covered:
1) When opening files within Geany you can click the "View" button instead of "Open" in the dialog. This will open the file in read-only mode. 2) When opening files from the command line you can add the -r parameter, making Geany open all files mentioned on the command line in read-only mode.