Is there a way to lock transparency on a stencil, so brushstrokes do not go outside the stencil?

And is there a good stencil tutorial video available?

Thanks.