When in-game on a multiplayer server, sometimes you are unable to open your Inventory using the tab key (assigned key for opening Inventory) You can use other menus like truck arsenals and other UI's.
Bug seems to fix itself after a couple of minutes not sure what causes this.
Videos attached are me trying to demonstrate which key I have assigned to opening Inventory and trying to access Inventory