This fixes an issue with reading S3 Lock Mode values, causing the UI to not display any values. This fixes #6941