Are there are any official rules for imposing some form of penalty on skill checks whilst the character is distracted or interrupted in some way?
In another (Non-D&D) game I played recently there was a penalty imposed on the player attempting to pick a lock because there was a leaky pipe in the room.
In an upcoming D&D game I am running there will be a scenario where the party is required to perform a number of tasks, from searching, checking tracks, etc. and there is going to be a goat nearby just making noise.
I sort of want the party to be baited into attacking or chasing off the goat for reasons, but if they can go about their business without issue (Other than me randomly making goat noises) they wouldn't really have any reason to.
If there aren't any official rules I will probably just impose disadvantage, though I am open to creative suggestions (though having the goat charge attack them off the cliff is maybe a bit far).