A computer should have its own outlet with protection from lightening and if the breaker trips.
It will also be necessary to have a three-prong outlet in order to plug a surge protector into the outlet.
It is not wise to use an adapter for a two-prong outlet.
This is not safe.
A professional, licensed and insured electrician can install all the outlets you’ll be needing to run your computer.
An experienced electrician will be able to assist you with all your computer, internet and phone wiring….and be able to eliminate any cords or cable lines lying around the computer area.