I too would start by not allowing bed access, if he's going to bark and be aggressive. Biting is a definite no-no. As
Maximo mentioned, he needs to learn that only good behaviour grants him access to your bed, lap, arms.
And definitely reinforce good behaviours such as sit and down on a daily basis. I followed the 'learn to earn' model, where Scottie must sit (to say please) before getting anything...whether it's access to the couch, his meals, treats, etc. A polite dog is so much cuter than an aggressive one. When they sit really still, looking at you with their cute puppy dog eyes, really wanting to jump but know they're not supposed to and just keep saying please with their big round eyes.

But you need to help shape him that way.
I know it's really hard to ask them for so much and it's much much easier to spoil them because they're so darn cute, but if you don't, they start barking at you for stuff in return. You just gotta be strong and be the boss!
I haven't had issues with resource guarding, thankfully. But when we started to let Scottie sleep on the bed, he somehow felt like he gained 'status' and started being really demanding by barking at us for everything. It was
so annoying. So, now he only gets to sleep in his dog bed beside me (and the demanding barking has stopped).