Click the Apple icon in the top left corner of the screen ... so it isn't foolproof security. If you need to secure files not against prying eyes, but against accidental editing or deletion ...