Perhaps a options.lock = 'SHARE' / 'UPDATE' would be cleaner?. Dunno actually