How to Disable the Lock Sound on an iPhone or iPad
By default, Apple’s iPhones and iPads make a sound when you turn their displays off (aka when you “lock” them). You can disable this sound entirely and never hear it again, or just silence your phone if you’d rather not hear it in certain situations.