How do I just lock and unlock the trackpad with a keyboard command

Just want a simple way to lock and unlock trackpad when typing-- do not see a way to do that

just connect a mouse to your macbook and then look here