Once a OneDrive file has been shared with others, that access can be revoked at any time by managing the permissions. Removing access will prevent users from opening documents previously shared with them.
Removing Access in OneDrive for Specific Users
Open OneDrive in Office365.
Next to the desired file, click on the vertical ellipsis.
In the drop-down bar, select Manage access.
In the sidebar to the right, click on the down arrow next to the list of users with access.
Click the X next to the user to remove access.
Click Remove to confirm.
Removing Access in OneDrive for All Users
Open OneDrive in Office365.
Next to the desired file, click on the vertical ellipsis.
In the drop-down bar, select Manage access.
In the sidebar to the right, click Stop sharing.
Click Stop sharing to confirm. This will remove access for everyone that currently has access.