How do I change an old 3 round pin socket to a square pin socket in a newer house?
Most likely the sockets in question are on the lighting circuit.

Nothing explicitly forbids putting 13A sockets on a lighting circuit. However it is widely seen as bad practice because future users of the installation may plug larger loads into the socket and trip out the lights.

Better to change the plug on the lamp or to buy or make an adapter.